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!


Results 1 to 5 of 5
  1. #1
    Join Date
    May 2005
    Location
    united kingdom
    Posts
    8,084
    Tokens
    595

    Latest Awards:

    Default Cutenews add on + php includes?! +REP x 3 = 15!!

    Ok, I got this script:
    http://cutephp.com/cutenews/addons/remote_headlines.zip

    It will direct to a iFrame very well, but I don't know how to make the links go to a PHP include?

    Any help will be very appreciated, thanks!

    +REP x 3 times

    drink up this bottle of yeah
    and P A I N T your body on me


  2. #2
    Join Date
    Jan 2008
    Location
    london
    Posts
    185
    Tokens
    0

    Wink

    Quote Originally Posted by SyrupyMonkey View Post
    Ok, I got this script:
    http://cutephp.com/cutenews/addons/remote_headlines.zip

    It will direct to a iFrame very well, but I don't know how to make the links go to a PHP include?

    Any help will be very appreciated, thanks!

    +REP x 3 times
    add me ill see what i can do
    [email protected]
    yo

  3. #3
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    You can't do that with php includes.

  4. #4
    Join Date
    Apr 2006
    Location
    West Midlands
    Posts
    3,384
    Tokens
    0

    Latest Awards:

    Default

    PHP includes don't work like iframes, thats not possible.


    Xbox Live: Jholder112233
    PS3 Online Tag: Josh-H

    Last.fm | Digg | Xbox.com

  5. #5
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Josh-H View Post
    PHP includes don't work like iframes, thats not possible.
    It will be possible. Im going to check it out now


    EDIT:

    <?php
    if ( $_GET['subaction'] == "showfull" ) {
    $id = $_GET['id'];
    $cutenewspage = "PAGE WITH FULL STORY ON HERE!";
    $page = "$cutenewspage?subaction=showfull&id=$id";
    include("$page");
    }
    else {
    include("newsnotfound.php");
    }
    ?>
    Last edited by Decode; 12-06-2008 at 04:40 PM.
    Lets set the stage on fire, and hollywood will be jealous.

Posting Permissions

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