Hvad er galt? oprettelse/mail script
Hey.. Hvad er der galt med dette script ?<?php
$to = "Min-mail";
$subject = "Oprettelse";
$account = $_REQUEST['account'] ;
$navn = $_REQUEST['navn'] ;
$by = $_REQUEST['by'] ;
$email = $_REQUEST['email'] ;
$ip = $_REQUEST['ip'] ;
$username = $_REQUEST['username'] ;
$password = $_REQUEST['password'] ;
$kfrom = $_REQUEST['kfrom'] ;
$headers = "From: $navn";
$sent = mail($to, $subject, $account, $navn, $by, $email, $ip, $username, $password, $kfrom, $headers) ;
if($sent)
{print "Din Oprettelse er nu sendt"; }
else
{print "Der er opstået et problem med at sende oprettelsen"; }
print ", For at vende tilbage til forsiden <a href=http://Min-hjemmeside> Tryk her</a>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
