i wanna create a website that someone add domains and e-mail and then i send him appraisal so i created this code:
this is index.htm page
and the submit.php is this:
the problem is i uploaded and tried but doesn't work, i don't got any mail
you can see it here: www.dnvalley.com
this is index.htm page
Code:
<html>
<head>
<title>dnValley</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div align="center">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><a href="index.htm"><img src="logito.gif" width="350" height="77" alt="dnValley" border="0"></a>
</p>
<p>
<FORM action="submit.php" method="POST">
<textarea name="domains" cols="50" rows="5">Add here the domain names, the domain names must be yours, we don't have time doing appraisals for domains just for your fun. Please don't add more than 25 domains in this text box and per day.</textarea>
<br>
<input type="text" name="email" value="Insert here your e-mail here" size="30">
<p></p>
<p>
<input type="submit" name="Submit" value="Do the appraisals...">
</FORM>
<p></p>
</div>
</body>
</html>
Code:
<html>
<head>
<title>dnValley</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div align="center"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<img src="submitting.gif" width="416" height="91">
</div>
<?php
$msg .= "Domain Names: $_POST[domains]\n";
$msg .= "E-mail: $POST[email]\n";
$recipient .= "[email protected]";
$subject = "From dnValley";
mail ($recipient, $subject, $msg);
?>
</body>
</html>
the problem is i uploaded and tried but doesn't work, i don't got any mail
you can see it here: www.dnvalley.com






