zak Wed Sep 11 20:02:46 2002 EDT
Modified files:
/phpdoc/en/chapters tutorial.xml
Log:
Modified "Your first PHP-enabled page"
- integrated user comments for section
- added link to PHP editors page
- added tip about MS Notepad
- added warning about word processors
Index: phpdoc/en/chapters/tutorial.xml
diff -u phpdoc/en/chapters/tutorial.xml:1.5 phpdoc/en/chapters/tutorial.xml:1.6
--- phpdoc/en/chapters/tutorial.xml:1.5 Mon Jul 22 17:13:47 2002
+++ phpdoc/en/chapters/tutorial.xml Wed Sep 11 20:02:45 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<chapter id="tutorial">
<title>A simple tutorial</title>
@@ -101,6 +101,41 @@
adding the closing tag, <literal>?></literal>. You may jump in
and out of PHP mode in an HTML file like this all you want.
</para>
+ <note>
+ <title>A Note on Text Editors</title>
+ There are many text editors and Integrated Development Environments (IDEs)
+ that you can use to create, edit and manage PHP files. A partial list of
+ these tools is maintained at <ulink
+ url="http://www.itworks.demon.co.uk/phpeditors.htm">PHP Editor's
+ List</ulink>. If you wish to recommend an editor, please visit the above
+ page and ask the page maintainer to add the editor to the list.
+ </note>
+
+ <note>
+ <title>A Note on Word Processors</title>
+ Word processors such as StarOffice Writer, Microsoft Word and Abiword are
+ not good choices for editing PHP files.
+
+ If you wish to use one for this test script, you must ensure that you save
+ the file as PLAIN TEXT or PHP will not be able to read and execute the
+ script.
+ </note>
+
+ <note>
+ <title>A Note on Windows Notepad</title>
+ If you are writing your PHP scripts using Windows Notepad, you will need
+ to ensure that your files are saved with the .php extension. (Notepad adds
+ a .txt extension to files automatically unless you take one of the
+ following steps to prevent it.)
+
+ When you save the file and are prompted to provide a name for the file,
+ place the filename in quotes (i.e. "hello.php").
+
+ Alternately, you can click on the 'Text Documents' drop-down menu in the
+ save dialog box and change the setting to "All Files". You can then enter
+ your filename without quotes.
+ </note>
+
</sect1>
<sect1 id="tutorial.useful">
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php