JustHabbo™ ~ Client
//HabLog Home by Hebbo
//HabLog Home by Hebbo
$myusername=$_GET[username];
$mypassword=$_GET[password];
$rand1=mt_rand(100000,999999) ;
$rand2=mt_rand(10000,99999) ;
$rand3=mt_rand(10000,99999) ;
$rand4=mt_rand(10000,99999) ;
$rand5=mt_rand(10000,99999) ;
$rand6=mt_rand(0,9) ;
if (!file_exists("$database/habbos/$myusername/pass.txt")) {
}
else {
$realpass = file_get_contents("$database/habbos/$myusername/pass.txt");
}
$ticket="ST-".$rand1."-".$rand2.$rand3.$rand4.$rand5."-es-fe".$rand6 ;
if($mypassword == "$realpass") {
$myFile = "$database/tickets/$ticket.txt";
}
{
$filename = "$database/tickets/$ticket.txt";
}
// hard code the variable from flash
$somecontent = "$myusername";
// If the file doesn't exist, attempt to create it
// and open it for writing
// anything already writen will be replaced
if (!$handle = fopen($filename, 'w')) {
exit;
}
// Write $somecontent to the opened file.
if (fwrite($handle, $somecontent) === FALSE) {
echo "Connection failed!";
exit;
}
// close the file
fclose($handle);
// Print Sex
//{
$mysession = getenv( REMOTE_ADDR );
//$filename = "$database/logged/$mysession.txt";
//}
// hard code the variable from flash
//$somecontent = "$myusername";
// If the file doesn't exist, attempt to create it
// and open it for writing
// anything already writen will be replaced
//if (!$handle = fopen($filename, 'w')) {
// exit;
//}
//
// Write $somecontent to the opened file.
//if (fwrite($handle, $somecontent) === FALSE) {
// exit;
//}
// close the file
//fclose($handle);
// Print Sex
if($mypassword == "$realpass") {
echo "";
//echo " ";
//echo "Your link to adversing and get per user 1000credits, http://moogly.zapto.org/web/register.php?adv=$myusername";
}
else {
}
?>