Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Need to create a PHP file (https://www.warriorforum.com/programming/967108-need-create-php-file.html)

leolong 14th July 2014 04:01 PM

Need to create a PHP file
 
I had a guy send me some php code to copy, all I have to do is create a file abc.php

then upload it to the server.

I have never created a .php file.

I have done html with notepad and uploaded to my server and changed it before without any issues. (filezilla & kompozer)

How do I create a .php file? What program do I use?

Yvon Boulianne 14th July 2014 05:20 PM

Re: Need to create a PHP file
 
You can use notepad or any simple editor for that (not ms word) , that's exactly the sames as create a .html but it's a .php

leolong 14th July 2014 08:37 PM

Re: Need to create a PHP file
 
ok, I tried earlier but it wouldn't open the file, I'll try on different computer.

KirkMcD 15th July 2014 04:33 AM

Re: Need to create a PHP file
 
It's a text file. Use any text editor.
Using a different computer won't help.

ghrixtechnologies 15th July 2014 04:53 AM

Re: Need to create a PHP file
 
Here are steps :
>Open code file into notepad
>Into notepad >Click File>Save As > will prompt filename to save file as
>File Name : abc.php or whetever you want
>Save as type > Select All files

Thats it !


Thanks
Romi
www.ghrix.com

leolong 16th July 2014 10:35 AM

Re: Need to create a PHP file
 
thanks, did it on a different computer and it worked fine.

alieen 17th July 2014 03:55 AM

Re: Need to create a PHP file
 
hmm dear you should again open your file and save as your file with the name of what you want like index.php and then save it . select all files. or it is very easy in adobe Dreamweaver if you are used that software for coding.

juangarciamtl 18th July 2014 02:45 PM

Re: Need to create a PHP file
 
Use Dreamweaver when you create a new file select php file.
Then you start coding your php file, after you save it and upload it to your server with fillezilla

look on youtube there are really good tutorials over there.

davidnavarro85 28th October 2014 11:43 PM

Re: Need to create a PHP file
 
You can use the .php extension.Example,Filename.php.Create one file and then save the file with the php extension.


All times are GMT -6. The time now is 11:04 PM.