+ Reply to Thread
Results 1 to 6 of 6

Thread: PHP help

  1. #1
    keiron92 is offline x10Hosting Member keiron92 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    3

    PHP help

    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. #2
    Chris S's Avatar
    Chris S is offline Retired Chris S is an unknown quantity at this point
    Join Date
    Mar 2005
    Posts
    1,036

    Re: PHP help

    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

    I would love to change the world, but they won't give me the source code

  3. #3
    Scoochi2's Avatar
    Scoochi2 is offline x10 Sophmore Scoochi2 is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Southport!
    Posts
    185

    Re: PHP help

    Quote Originally Posted by keiron92 View Post
    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?
    Where exactly have you uploaded it to.
    It needs to be in /public_html or /www
    If anyone can see it, my post was meant for anyone who reads it. Don't take it personally or think I'm being condescending... :nuts:

  4. #4
    johndass is offline x10Hosting Member johndass is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    28

    Re: PHP help

    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. #5
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: PHP help

    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 by xav0989; 07-13-2009 at 02:55 AM.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  6. #6
    drf1229 is offline x10Hosting Member drf1229 is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    71

    Re: PHP help

    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.

+ Reply to Thread

Similar Threads

  1. Ever Been Suspended For Using PHP?
    By dragoneye_xp in forum Off Topic
    Replies: 26
    Last Post: 08-16-2009, 07:17 PM
  2. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  3. currently have an application pending php
    By biomasti in forum Free Hosting
    Replies: 1
    Last Post: 09-03-2008, 01:58 PM
  4. php errors galore
    By DMG Online in forum Scripts & 3rd Party Apps
    Replies: 9
    Last Post: 05-17-2008, 06:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers