Results 1 to 5 of 5

Thread: PHP Pages

  1. #1
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Question PHP Pages

    I've seen it on some sites, but up in the address bar it's like index.php?page=home or whatever, and i was wondering how to do that?

    This is what i've tried so far:
    index.php
    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>

    <body>
    <?php
    include("pages.php");
    $page $_GET['page'];
    ?>
    <table width="474" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="133"><table width="133" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="133"><a href="site.php?page=home">Home</a></td>
          </tr>
          <tr>
            <td>About Us </td>
          </tr>
          <tr>
            <td>Contact</td>
          </tr>
          <tr>
            <td>Disclaimer</td>
          </tr>
        </table></td>
        <td width="341">
        <?php
        
    include("$page");
        
    ?></td>
      </tr>
    </table>
    </body>
    </html>
    pages.php
    PHP Code:
    <?php
    $home 
    home.php;
    $about about.php;
    $contact contact.php;
    $discaimer disclaimer.php;
    ?>
    home.php
    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <
    html xmlns="http://www.w3.org/1999/xhtml">
    <
    head>
    <
    meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <
    title>Untitled Document</title>
    </
    head>

    <
    body>
    <
    font face="Verdana" size="1"><strong>Hello and welcome to Habbo Eden!</strong></font>
    </
    body>
    </
    html
    If someone can help please reply.

    Thanks,
    Ver.
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  2. #2
    Join Date
    Sep 2007
    Location
    USA
    Posts
    474
    Tokens
    0

    Default

    its a code that locates all the pages on one page that creates external links to the page after the ?

    google it or such i dont know exactly the code

    Invent or some other php coders like Cj555 should know
    Post Meter
    ______________________________________________
    400 450 500 550 600 650 700 750 800 850 900-1k
    Green=Done | Orange=Almost | Red=Not Done
    ______________________________________________
    Habbo fury Coming Soon!
    My Img tag has ran away

  3. #3
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Ok... Where for art thou Simon! LOL
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  4. #4
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    goto tutorials section, its the last item on there
    Chippiewill.


  5. #5
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Nvm
    http://i****curo.com/tutorials/read/16/

    Thanks fo ur help though +rep
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

Posting Permissions

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