include("config.php"); ?>
echo "$name"; ?> ~ Styling
$style = $_POST[figureData];
$newGender = $_POST[newGender];
//echo "$style";
//echo "$style";
$mysession = getenv( REMOTE_ADDR );
$echo = file_get_contents("$database/logged/$mysession.txt");
// Print gender
{
$mysession = getenv( REMOTE_ADDR );
$echo = file_get_contents("$database/logged/$mysession.txt");
$filename = "$database/habbos/$echo/app.txt";
}
// hard code the variable from flash
$somecontent = "$newGender";
// 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 style
// Print gender
{
$mysession = getenv( REMOTE_ADDR );
$echo = file_get_contents("$database/logged/$mysession.txt");
$filename = "$database/habbos/$echo/app.txt";
}
// hard code the variable from flash
$somecontent = "$style";
// 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 style
// Print update
{
$mysession = getenv( REMOTE_ADDR );
$echo = file_get_contents("$database/logged/$mysession.txt");
$filename = "$database\update/$echo.update";
}
// hard code the variable from flash
$somecontent = "";
// 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 update
?>