Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: IFrames.

  1. #11
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    Because i normally code in CSS, i use the Include for the source.css file.

    Then the rest is simple

  2. #12
    JoeComins Guest

    Default

    LMAO.

    I use:
    <?php
    $val = $_GET['id'];
    $val .= ".php";
    $dirty = array("..");
    $clean = array("");
    $val = str_replace($dirty, $clean, $val);

    if (isset($_GET['id'])) {
    if (file_exists($val)) {
    include "$val";
    }
    else {
    include "404.php";
    }
    }
    else {
    include "home.php";
    }
    ?>

  3. #13
    ScottDiamond Guest

    Default

    I used it AGES ago when I used Radio Stats etc. Now I use PHP Navigation.

  4. #14
    JoeComins Guest

    Default

    PHP Navigation?

    That code, and then name the links like:
    index.php?id=home
    index.php?id=page

  5. #15
    ScottDiamond Guest

  6. #16
    JoeComins Guest

    Default

    OO. Thats not a good way,

Page 2 of 2 FirstFirst 12

Posting Permissions

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