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 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Sep 2006
    Location
    Wakefield, West Yorkshire
    Posts
    162
    Tokens
    0

    Default Habbo Status Script

    This is a script I created yesterday to make an image and say if a habbo is on-line or not.. I posted it in a thread earlier but I've decided to make a separate one.

    PHP Code:
    <?php
    $habbo 
    $_GET['name'];
    $home file_get_contents("http://www.habbohotel.co.uk/home/".$habbo);
    if (
    eregi("http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_online_anim.gif"$home)){
    $img "http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_online.gif";
    }else{
    $img "http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_offline.gif";
    }
    header("Content-type: image/gif");
    $im imagecreatefromgif($img);
    imagegif($im);
    imagedestroy($im);
    ?>
    If you were saving it as 'status.php' you would type:

    http://blah.com/status.php?name=Korma

    etc.

    If you want it set to a habbo you would:

    Change the 2nd line from

    $habbo = $_GET['name'];

    to

    $habbo = "Korma";

    Thanks.

    Example in my signature set to the habbo " -1. "
    Last edited by -1.; 17-11-2006 at 10:06 PM.
    Left. Or have I?

  2. #2
    Join Date
    Jul 2005
    Location
    Leeds
    Posts
    947
    Tokens
    0
    Habbo
    Flumples

    Default

    Awesome +rep

  3. #3
    Join Date
    Sep 2006
    Location
    Wakefield, West Yorkshire
    Posts
    162
    Tokens
    0

    Default

    Thanks

    Oops forgot to put the example in my signature.
    Left. Or have I?

  4. #4
    Join Date
    Nov 2006
    Location
    Doncaster, UK
    Posts
    1,700
    Tokens
    0

    Latest Awards:

    Default

    you can put php in a signature..?
    unitedstates,canada,mexico,panama,haiti,jamaica,pe ru,republicdominian,cuba,caribbean,greenland and el salvadour too.
    puertorica,colombia,venezuela,honduras,guyana and still, guatamala,bolivia then argentina and ecuador,chile,brazil.
    costarica,belize,nicaragua,bermuda,bahamas,tobago, sanjuan,paraguary,uruguay,suriname,frenchguiana,ba rbados and guan.
    norway and sweden and iceland and finland and germany now one piece, switzerland,austrira,czechoslovakia,italy,turkey and greece.



  5. #5
    Join Date
    May 2005
    Location
    London
    Posts
    2,875
    Tokens
    0

    Latest Awards:

    Default

    great, +rep


    Previously -=Jack.B=-

  6. #6
    Join Date
    Sep 2006
    Location
    Wakefield, West Yorkshire
    Posts
    162
    Tokens
    0

    Default

    Yes, you can use GD Images. But it needs to be uploaded somewhere, you can't just paste PHP in.
    Left. Or have I?

  7. #7
    Join Date
    May 2005
    Location
    London
    Posts
    2,875
    Tokens
    0

    Latest Awards:

    Default

    is it supposed to come with a the habbo aswell?


    Previously -=Jack.B=-

  8. #8
    Join Date
    Sep 2006
    Location
    Wakefield, West Yorkshire
    Posts
    162
    Tokens
    0

    Default

    No, that is a different script that I posted in another thread.
    Last edited by -1.; 17-11-2006 at 10:32 PM.
    Left. Or have I?

  9. #9
    Ryan. Guest

    Default

    Great script :p..

    How do people find out these things lol...

    +rep..

  10. #10
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    307
    Tokens
    0

    Default

    seems to be blank for me?

Page 1 of 3 123 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
  •