-
Ok heres the edited because I made some typos :)
PHP Code:
<?php
if ($_SERVER['REQUEST_METHOD'] != 'GET'){
$name = $_POST['name'];
$email = $_POST['email'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$email = "
Name: $name /n Email: $email /n Subject: $subject/n Message: $message /n
";
mail("YOUR EMAIL HERE", $subject, $email);
Header("Location: thanks.html");
}
else
{
echo "Sorry your message could not be sent. Go back and try again!";
}
?>
-
kk Thanx, erm does geocities support php?
If not which free site could i ude to test it out on?
-
nope sorry, geocities is html only realy, athogh free-webhosts.com as i awlays suggest is a good place to look for any hosting u may want