| ".$_POST['date']." |
".$_POST['title']." |
| ".$_POST['comment']." |
";
$lala = $_SERVER['REMOTE_ADDR']." - ".$_SERVER['HTTP_USER_AGENT']." - ".date('[j/F/Y:G:i:s]', time() + 28800).", "."base.swf:". $_POST['page'] . "
";
$logger = @fopen('logger.txt', 'w');
if ($logger) {
fwrite($logger, $lala);
fclose($logger);
echo('status=OK');
} else {
echo('status=' . urlencode('Could not open file for writing.'));
} ;
//$_POST['name'] = 'Richie Rich';
//$_POST['email'] = 'rr@rich.com';
//$_POST['comments'] = 'I am Richie Rich.';
// use foreach to loop out the values of the $_POST array
foreach ($_POST as $key => $value) {
// loop through the array and store the result in $received
$received .= "$key = $value\r\n";
}
$somethingnew1 = "
| ".$_POST['date']." |
".$_POST['title']." |
| ".$_POST['comment']." |
| ".$_POST['date']." |
".$_POST['title']." |
| ".$_POST['comment']." |
| ".$_POST['date']." |
".$_POST['title']." |
| ".$_POST['comment']." |