I put in a PHP code in notebook and saved it as lesson1.php but when I used FTP to upload it to my server it said lesson1.php.txt how do I make just a PHP page?
Thanks in advance
I put in a PHP code in notebook and saved it as lesson1.php but when I used FTP to upload it to my server it said lesson1.php.txt how do I make just a PHP page?
Thanks in advance
Does the file have the same name when you look at it in your computer? Sometimes when you use notepad, and you save a file as .php, you need to remember that beneath this, there is a drop down box that says .txt and a host of other options. You need to set the .txt to all files and then save the file again as .php.
Kanashimi no oto ga kikoenai you na sewashii sekai ga.
IMT Forum Member Groups, Features, Options & Permissions and IMT Forum Rules.
On the server you also have the option to rename the file, so you could just rename the file on the server this time. Phoenyx gave the real answer to the problem.
Over 7000 collected Internet Marketing Articles | -0-Money From the Web-0- | About Music Blog
Affiliate links - HostGator 30% off Code | MicroNicheFinder
PHP performance tips are:
Upgrade your version of PHP
Use caching
Use output buffering
Avoid writing naive setters and getters
Last edited by Phoenyx; 10-13-2011 at 12:25 PM. Reason: tripped over my fingers
Kanashimi no oto ga kikoenai you na sewashii sekai ga.
IMT Forum Member Groups, Features, Options & Permissions and IMT Forum Rules.