ekki hugmynd hvað er vitlaust… tékkaðu á forminu á http://multimedia.is:16080/~hakon/eternalblog/contact.php, en síðan er kóðinn sem vinnur úr því hér fyrir neðan.. þú getur séð error message-ið með því að senda eitthvað… bara skrifa g í alla reitina
<?php
if(isset( $_POST["Name"])){
$name = $_POST["Name"];
}
elseif(isset( $_POST["email"])){
$email = $_POST["email"];
}
elseif(isset( $_POST["msg"])){
$msg = $_POST["msg"];
}
if($name == “”){
$error = 1;
echo ‘Error: You did not enter your name.’;
}
elseif($msg == “”){
$error = 1;
echo ‘Error: You did not enter your e-mail.’;
}
elseif($email == “”){
$email = “nothing@nothing.com”;
}
$message = “$email\\n$name skrifaði:\\n$msg”
mail(“amon_is_amon@hotmail.com”, “Eternal Thoughts Contact E-Mail”, “$message”);
if($error != 1){
echo “This e-mail has been sent”;
}
?><br><br><i>Out of doubt, out of dark, to the day's rising
he rode singing in the sun, sword unsheathing.
Hope he rekindled, and in hope ended;
over death, over dread, over doom lifted
out of loss, out of life, unto long glory.
<b>Burial Song of Théoden - The Lord of the Rings : The Return of the King</b></i