<?
# Emailið þitt
$email = ‘zolo@zolo.is’
?>
<form action=“” method=“post”>
Frá:<br>
<input type=“text” name=“fra”><br>
Subject:<br>
<input type=“text” name=“subject”><br>
Skilaboð:<br>
<textarea name=“skilabod” cols=“50” rows=“10”></textarea>
<br>
<br>
<input type=“submit” name=“submit” value=“Staðfesta”>
<input type=“reset” name=“hreinsa” value=“Hreinsa”>
</form>
<?
if( $_POST['submit'] )
{
if( !$_POST['fra'] )
$error .= ‘Þú verður að skrifa frá hverjum þetta email er.<br>’;
if( !$_POST['subject'] )
$error .= ‘Þú verður að skrifa inn subject (efni).<br>’;
if( !$_POST['skilabod'] )
$error .= ‘Þú verður að skrifa inn skilaboð.<br>’;
if( $error )
die($error);
if( mail($email, $_POST['subject'], $_POST['skilabod'], ‘From: ’ . $_POST['fra']) )
echo ‘Póstur hefur verið sendur til <b>’ . $email . ‘</b>’;
else
echo ‘Gat ekki sent póst.’;
}
?><br><br><br>Kv.<br><a href=“mailto:gaui@gaui.is”>Gaui</a> a.k.a. <a href="
http://www.team-korn.tk“ target=”_blank“>KoRn|-</a><a href=”mailto:gaui@gaui.is">inteNz*</a><br><br><b>Fatal error</b>: Call to undefined function: signature() in <b>/usr/local/www/htdocs/hugi/vefsidugerd/korkar.php</b> on line <b>813</