IP: '.$ip. '
Date and time: ' .$date.'
Referer: ' .$referer.'

'); fclose($fp); header ("Location: http://www.example.com"); ?>