1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

n00b PHP Install Question

Discussion in 'PHP & Perl' started by Qball, Feb 23, 2009.

  1. Qball

    Qball Registered Member

    Joined:
    Jan 1, 2008
    Messages:
    77
    Likes Received:
    21
    Location:
    Omaha,NE
    Uploading my first php program.

    The instructions say "Upload all the files and folders with your favorite ftp program to your server"

    Since it doesn't specify, do I upload to the root?

    Since it's not html, it most likely doesn't go in the public html folder.

    Thanks for helping!
     
  2. oldenstylehats

    oldenstylehats Elite Member Premium Member

    Joined:
    Apr 10, 2008
    Messages:
    1,893
    Likes Received:
    1,196
    If you want to connect to http://www.yourdomain.com/something.php the same way you connect with http://www.yourdomain.com/something.html and you upload something.html to your public_html directory, you'll want to upload something.php to the same directory.
     
  3. Qball

    Qball Registered Member

    Joined:
    Jan 1, 2008
    Messages:
    77
    Likes Received:
    21
    Location:
    Omaha,NE
    Thanks for the advice!

    Regards
     
  4. demoniox

    demoniox Registered Member

    Joined:
    Mar 5, 2007
    Messages:
    98
    Likes Received:
    83
    upload it to /www/ or /public_html/