note 44604 added to tutorial.firstpage
| From: | Curtis at osu1 dot php dot net | Date: | Tue, 10 Aug 2004 21:47:20 +0000 |
| Subject: | note 44604 added to tutorial.firstpage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74421@lists.php.net to get a copy of this message | ||
Expansion on saving w/ notepad/wordpad: (tested on XP; but should work on 2000,NT, and 98)
You can associate the .php file extension w/ Windows w/o going into the registry.
Open up My Computer or MSIE in file mode. Go to folder options > File types tab. Now click new.
Add the extension as PHP or php. If you can't find the PHP application in the dropdown list
under advanced, just go OK, for now. At least the extension is in place.
Now, try and create a php file by using the directions from this page of the PHP tutorial (should
save it with the rest of your HTML files, i.e. your DocumentRoot). If you go to view your php file
listed in the directory, and you see that it's still a .txt file, right-click the icon to see
if you can locate "open with." If so, you should be able to browse for the appropriate
file, which should be at (may vary, depending on where you installed PHP):
C:\PHP\php.exe
Click that as the default program, and the PHP logo should appear on all your scripts, and no
problems saving should occur w/ any program.
Good luck.
----
Manual Page -- http://www.php.net/manual/en/tutorial.firstpage.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44604
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44604&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44604&report=yes
Search -- http://master.php.net/manage/user-notes.php