Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default Cool find a habbo script!

    Hey guys, quick little script here! Invent! originally made it for habbolake but took it off so I wanted to make something similar :p

    Heres the code:
    PHP Code:
    <?php

    if(isset($_POST['find'])) {
    if((!
    $_POST['habbo']) || (!$_POST['hotel'])) {
    echo (
    "Oops! You haven't filled in all the fields mister!");
    } else {
    $habbo addslashes(htmlspecialchars($_POST['habbo']));
    $hotel addslashes(htmlspecialchars($_POST['hotel']));
    echo (
    "<img src='http://www.habbo$hotel/habbo-imaging/avatarimage?user=$habbo />");
    }
    } else {
    echo (
    "<form method='post' action='findhabbo.php'>
    Habbo name:<br>
    <input type='text' name='habbo' size='20'><br>
    Hotel:<br>
    <select name='hotel' size='1'>
    <option label='UK' value='.co.uk'>UK</option>
    <option label='US' value='.com'>US</option>
    </select><br>
    <input type='submit' name='find' value='Find habbo!'>
    </form>"
    );
    }

    ?>
    Yes you can re-use it or whatever just please don't claim you made it All comments are appreciated.
    Last edited by Excellent; 09-08-2008 at 10:34 PM.

  2. #2
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Excellent View Post
    Hey guys, quick little script here! Invent! originally made it for habbolake but took it off so I wanted to make something similar :p

    Heres the code:
    PHP Code:
    <?php

    if(isset($_POST['find'])) {
    if((!
    $_POST['habbo']) || (!$_POST['hotel'])) {
    echo (
    "Oops! You haven't filled in all the fields mister!");
    } else {
    $habbo addslashes(htmlspecialchars($_POST['habbo']));
    $hotel addslashes(htmlspecialchars($_POST['hotel']));
    echo (
    "<img src='http://www.habbo$hotel/habbo-imaging/avatarimage?user=$habbo />");
    }
    } else {
    echo (
    "<form method='post' action='findhabbo.php'>
    Habbo name:<br>
    <input type='text' name='habbo' size='20'><br>
    Hotel:<br>
    <select name='hotel' size='1'>
    <option label='UK' value='.co.uk'>UK</option>
    <option label='US' value='.com'>US</option>
    </select><br>
    <input type='submit' name='find' value='Find habbo!'>
    </form>"
    );
    }

    ?>
    So, basically an imager.

  3. #3
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Calon View Post
    So, basically an imager.
    Well yes but it's built specifically so the user doesn't have to go through and do the head type, size etc.

  4. #4
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Excellent View Post
    Well yes but it's built specifically so the user doesn't have to go through and do the head type, size etc.
    Lol, that's the easiest way of doing it.

    Good find for the Habbo players.

  5. #5
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    Yeah it's for the lazy people lool.

  6. #6
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    Nice script.

  7. #7
    Join Date
    Mar 2008
    Posts
    940
    Tokens
    75

    Default

    Who made this, you or invent?


  8. #8
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Mine was a bit different to that

    You typed in part of the name of a Habbo and it would find several Habbos with a similar name.

  9. #9
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Meti View Post
    Nice script.
    Thankyou

    Quote Originally Posted by Turbocom View Post
    Who made this, you or invent?
    I did, but it was 'inspired' by invents on habbolake if you will

    Quote Originally Posted by Invent View Post
    Mine was a bit different to that

    You typed in part of the name of a Habbo and it would find several Habbos with a similar name.
    Ahh I see, didn't know that

  10. #10
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    11,415
    Tokens
    787

    Latest Awards:

    Default

    Can we have a demo please ;D

Page 1 of 2 12 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
  •