Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 49

Thread: .php headers?

  1. #21
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    1,111
    Tokens
    100

    Latest Awards:

    Default

    Quote Originally Posted by Robald View Post
    Yay that must be all I need to do: move all my files into there. I have a folder called "htdocs" rather than "httdocs", is that the right one?
    Yeh htdocs sorry

  2. #22
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Ok went into htdocs. Deleted everything. Pasted all my files. Reopened index.php from there. Still doesn't work. :eusa_wall

    I looked at the source of the original page on Habville and found this instead of a simple include:

    Code:
    <?php
        $page = $_GET['p'];
          if(!isset($page))
          {
            include("main.php");
          }
          elseif(file_exists
    
    ("". $page . ".php"))
          {
            include("" . $page . ".php");
          }
          else
          {
            print("The page <b>" . 
    
    $page . ".php</b> does not exist.");
          }
        ?>
    So I tried putting that in and now it displays this:

    " . $page . ".php does not exist."); } ?>



    I obviously don't have a clue so I'm sorry for waisting everyone's time :rolleyes:.

  3. #23
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    1,111
    Tokens
    100

    Latest Awards:


  4. #24
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by BoyBetterKnow View Post
    Okay are you going to it through http://localhost/index.php ?
    I'm going through file:///C:/xampp/htdocs/site/index.php

    what do I need to do to go through "localhost"?

  5. #25
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Robald View Post
    I'm going through file:///C:/xampp/htdocs/site/index.php

    what do I need to do to go through "localhost"?
    Just go there, it's already there.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  6. #26
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Jewish Bear View Post
    Just go there, it's already there.
    Page load error... :rolleyes:

  7. #27
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Is xampp started? If not, there's your problem.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  8. #28
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    1,111
    Tokens
    100

    Latest Awards:

    Default

    Yup, I believe u have to start it manually..

    and just type in your web address as : http://localhost

  9. #29
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Yes. There's four boxes to tick: Apache, MySql, FileZilla, Mercury (that one's faded though). I've ticked the first one because I saw someone mention it earlier.

    Do I need to do something else with XAMPP?

  10. #30
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    Quote Originally Posted by Robald View Post
    Yes. There's four boxes to tick: Apache, MySql, FileZilla, Mercury (that one's faded though). I've ticked the first one because I saw someone mention it earlier.

    Do I need to do something else with XAMPP?
    No, just Apache for you.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


Page 3 of 5 FirstFirst 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •