orchid1
04-28-2003, 09:18 PM
I tried to type .php at the end of the file name in front page but then it make the file into page2.php.htm and I did also do the same thing in notepad and it turns out to be page2.php.txt How do I jsut save it in .php only? Also, same thing with shtml. How do I save something in .shtml?
Lemon Squash
04-28-2003, 09:21 PM
When you saved it did you go to the second drop down menu and select All files, then save as filename.shml or filename.php?
epolady
04-28-2003, 09:23 PM
In a text editor you should be able to just name it file.php (which all you would type is file.php)...
orchid1
04-28-2003, 09:33 PM
ok I change it to all files and it works for .shtml. But for the .php after I sae it then I view it, it dosn't work. it pop up this window and say "Unable to execute program.
The system cannot find the path specified."
Also, what is encoding? there're two drop down boxes one is "save as type" and the other is encoding. What should I put for the encoding?
epolady
04-28-2003, 09:50 PM
Are you trying this with Frontpage or a texteditor? Try saving your php files using a texteditor and NOT frontpage.
using a text editor (such as notepad) you should be able to create the desired filename by using quotes around the filename during save...
"yourfile.php"
that way the default txt or htm should not appear afterwards.