Guestbook

does anyone know how to edit this php file because the time is 2hours faster!

[url="http://hoa.answerinthesky.co.uk/hateness/addentry.php"]
<?
	if (!isset($name) || !isset($email) || !isset($message) || empty($name) || empty($message)) {
		 print "&result=Fail";
		 print "&errorMsg=" . urlencode("Input required for all fields.");
		 exit;
	}

	$email = strtolower($email);

	addentry($name, $email, $message);

function addentry($name, $email, $message) {

	$posted = strftime("%D %I:%M %p");

	$message = stripslashes($message);

	$file = fopen('entry.txt', 'a+');

	if (!$file) {
		 print "&result=Fail";
		 print "&errorMsg=" . urlencode("Could not open entry.txt file. Change CHMOD levels to 766.");
		 exit;
	}

	fputs($file, "<font color=\"#000000\">Name: $name
[color=#000000]Email:[/color] [color=#00ccc0][u][$email](http://%5C%22mailto:$email%5C%22)[/u][/color]

[color=#000000]Posted:[/color] $posted
[color=#000000]Message:[/color] $message

");
	fclose($file);

	
}

function mailAdmin($name, $email) {
	$mailTo = "Your Name <[email protected]>";
	$mailFrom = "From: Guestbook <[email protected]>";
	$mailSubject = "New Guestbook Entry";
	$mailBody = "$name ($email) has just posted in your guestbook

View it at http://www.yoursite.com";
	mail($mailTo, $mailSubject, $mailBody, $mailFrom);
}

print "&result=okay";
exit;

?>