I just need to know if i have a text document with php coding in it how can i change it's format to .php I tried saving it as .php but it came out as .php.txt please help
If you are using a plain text editor like NotePad, after doing a Save As to give a name and extension to the file, be sure you reselect the file file for ALL FILE types. Then name your file and add the extension you want. Save file. If you don't do this, you will have .txt always added as that is the default extension for a text file.
You will not be able to run the PHP file on your own computer unless you have installed XAMPP. The same for the web site if it is a hosting site that does not allow PHP.
if you have the php package installed already then right click the file you need to convert and then rename it with the extension .php. i think this would help.
bypass to the starting up menu then bypass over to pc then scroll down and click on the administration panel then bypass over to classes then click on the archives. once you click on that a separate window might want to pop up and the fourth tab on the left hand aspect might want to assert format. click on format and yet another window might want to pop up and there'll be a catalogue of all of your latest information. discover and decide the record you want to have switched over. ideal click on it and that i'm making all of this up there might want to be a convert record merchandise. click on that and also you may parent it out from there i'm particular. wish this permits! good success
Answers & Comments
Verified answer
If you are using a plain text editor like NotePad, after doing a Save As to give a name and extension to the file, be sure you reselect the file file for ALL FILE types. Then name your file and add the extension you want. Save file. If you don't do this, you will have .txt always added as that is the default extension for a text file.
You will not be able to run the PHP file on your own computer unless you have installed XAMPP. The same for the web site if it is a hosting site that does not allow PHP.
XAMPP: http://www.apachefriends.org/en/xampp.html
Ron
Txt To Php
if you have the php package installed already then right click the file you need to convert and then rename it with the extension .php. i think this would help.
If your running windows, go to tools -> folder options -> uncheck "hide known file extentions"
Go to your file -> rename -> replace ".txt" with ".php"
Thats what I think your referring to in anyway.
bypass to the starting up menu then bypass over to pc then scroll down and click on the administration panel then bypass over to classes then click on the archives. once you click on that a separate window might want to pop up and the fourth tab on the left hand aspect might want to assert format. click on format and yet another window might want to pop up and there'll be a catalogue of all of your latest information. discover and decide the record you want to have switched over. ideal click on it and that i'm making all of this up there might want to be a convert record merchandise. click on that and also you may parent it out from there i'm particular. wish this permits! good success
you just rename it and change the format so "Document.txt-->Right Click-->Rename-->Document.php"