PDA

View Full Version : How do I save php files?



Adzeh
14-10-2005, 05:38 PM
Ok I have created a HTML file in notepad.

This file contains PHP scripts.

How do I save this file so it appears as a .php file and not .txt or .html

I have already tried calling it "file.php" but when I place it on my server it comes up as:

"file.php.txt"

HELP MEEEE!!

timROGERS
14-10-2005, 05:42 PM
Erm, when you do save as, select All Files in the save as type box and then in the filename type file.php.

Et voila a PHP file!

Adzeh
14-10-2005, 05:46 PM
Nope doesnt work dood.


still comes on the server as

file.php.txt

Owen
14-10-2005, 06:14 PM
you upload it to your server then rename it to file.php from file.txt

Flisker
15-10-2005, 09:33 AM
you upload it to your server then rename it to file.php from file.txt
-Yea do what Owen Said :p

timROGERS
15-10-2005, 09:56 AM
If you do what I said correctly it does work, I do it all the time.

splintercell!
15-10-2005, 10:48 AM
Yes nintendo is right :S thats really wierd...

Want to hide these adverts? Register an account for free!