QUOTE("status2web.ini")
aglian.ro
status.php
aglian.ro
80
QUOTE("status.php")
<?php
// first we check that the new status text WAS sent
if (! isset ($_POST ['newStatus'])) {
exit ;
}
// we save the new status as a "clean" variable
$fpO = stripslashes ($_POST ['newStatus']) ;
// we create a blank image in memory 468x30
$img = imagecreate (468, 30) ;
// we allocate a transparent color
$trans_color = imagecolorallocate ($img, 0, 0, 0);
// and we allocate a text color
$color = imagecolorallocate ($img, 0, 127, 0) ;
// we split the status at 75 columns so that it fits image width
$lines = explode ("\n", wordwrap ($fpO, 75, "\n")) ;
// we print the text on the image but how many lines are there?
switch (count ($lines)) { // number of lines to print
case 1: // we print with 8 pixels top margin
imagestring ($img, 2, 15, 8 , $lines [0], $color) ;
break ;
case 2: // we print two vertically centered lines
imagestring ($img, 2, 15, 2, $lines [0], $color) ;
imagestring ($img, 2, 15, 17, $lines [1], $color) ;
break ;
}
// we tell we want to set the transparent color
imagecolortransparent ($img, $trans_color);
// write the image from memory to a file
imagegif ($img, 'status.gif') or die ('error 1') ;
// free memory
imagedestroy ($img) or die ('error 2');
?>
CHMOD 777 status.php
CHMOD 777 status.gif
Am firewall, Sygate Personal Firewall, oricum avea allow programul, am scot de tot firewall`ul, si tot nu misca nimic.
Si da, e bifat Status2web