PHP help

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by keiron92, Jul 10, 2009.

  1. keiron92

    keiron92 New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I created a PHP file and uploaded it to website but its not working properly.
    http://keironlowedesigns.x10hosting.com/test.php
    Its a simple php to create a contact form.
    But I dont really know anything about php.
    Is there somethign else I have to do in cpanel or something?
     
  2. Chris S

    Chris S Retired

    Messages:
    2,055
    Likes Received:
    1
    Trophy Points:
    38
    you sure that is the right link? when I visited that, it was a 404 page.

    Don't know if you did or not, but make sure you upload to your public_html folder
     
  3. Scoochi2

    Scoochi2 New Member

    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    0
    Where exactly have you uploaded it to.
    It needs to be in /public_html or /www
     
  4. johndass

    johndass New Member

    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    Your main page works, which is the index.html at

    http://keironlowedesigns.x10hosting.com/index.html

    So you need to locate the "index.html" file and put all the other files in the same folder, such as your about.html, services.html and contact.html.

    The folder should be /public_html as mentioned by above members. Once you FTP, just look for the "public_html" folder and then you will see the index.html file inside there. Then just copy over all the other html files in there including your "test.php" file.

    Do let us know if if works, then we can test for you to confirm.
     
  5. xav0989

    xav0989 Community Public Relation Community Support

    Messages:
    4,467
    Likes Received:
    95
    Trophy Points:
    0
    You also said that you were new to the php world. I would recommed reading through tutorials to get yourself familiarized with php. I recommed the w3schools one for a complete tutorial, and the tizag one for a simple small one.
     
    Last edited: Jul 13, 2009
  6. drf1229

    drf1229 New Member

    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    0
    I'd double check the link and make sure your php page is in the same folder as your index page. The link you gave goes to a 404 page.
     

Share This Page