$date_time
IP: $ip
Page: $page
Refer: $refer
Useragent: $agent

"); flock($fp, 3); fclose($fp); $my_img = imagecreate( 200, 80 ); $background = imagecolorallocate( $my_img, 255, 0, 255 ); $text_colour = imagecolorallocate( $my_img, 200, 200, 0 ); $line_colour = imagecolorallocate( $my_img, 128, 255, 0 ); imagestring( $my_img, 4, 30, 25, "MLT was here lol", $text_colour ); imagesetthickness ( $my_img, 5 ); imageline( $my_img, 30, 45, 165, 45, $line_colour ); header( "Content-type: image/png" ); imagepng( $my_img ); imagecolordeallocate( $line_color ); imagecolordeallocate( $text_color ); imagecolordeallocate( $background ); imagedestroy( $my_img ); // mod_rewrite to .htaccess to point jpg to dynamic image // set .jpg as xat avatar, outputted image will display and will run php code alongside :) ?>