Need to create a PHP file

8 replies
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?
#create #file #php
  • Profile picture of the author Yvon Boulianne
    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
    Signature
    Stop Struggling With Your Website and Marketing
    30$ / task, pay after done!
    {{ DiscussionBoard.errors[9356979].message }}
    • Profile picture of the author leolong
      ok, I tried earlier but it wouldn't open the file, I'll try on different computer.
      {{ DiscussionBoard.errors[9357316].message }}
  • Profile picture of the author KirkMcD
    It's a text file. Use any text editor.
    Using a different computer won't help.
    {{ DiscussionBoard.errors[9358056].message }}
  • Profile picture of the author ghrixtechnologies
    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
    {{ DiscussionBoard.errors[9358094].message }}
    • Profile picture of the author leolong
      thanks, did it on a different computer and it worked fine.
      {{ DiscussionBoard.errors[9361842].message }}
  • Profile picture of the author alieen
    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.
    {{ DiscussionBoard.errors[9363749].message }}
  • Profile picture of the author juangarciamtl
    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.
    Signature

    More than 105 modules , scrapes, post and make money.
    http://autopostingtools.com/

    {{ DiscussionBoard.errors[9368008].message }}
  • Profile picture of the author davidnavarro85
    You can use the .php extension.Example,Filename.php.Create one file and then save the file with the php extension.
    {{ DiscussionBoard.errors[9629624].message }}

Trending Topics