PDA

View Full Version : form help



madchild24
12-11-2005, 01:17 PM
<?php
if ($_SERVER['REQUEST_METHOD'] != 'GET'){
$nam = $_POST['name'];
$email = $_POST['email'];
$subject = $_POST['subject'];
$mess = $_POST['message'];
mail("habbofuse******.com", $subject, $messig);
Header("Location: thankyou.php");
}
else
{
echo 'ERROR';
}
?>
can anyone tell me what the problem is with the above form handler for this form - http://www.hfuse.dots-hosting.com/form.htm

nets
19-11-2005, 01:13 PM
Are you sure that the form which brings the user to that handler has the correct names assigned to the text boxes?

Dan Williamson
19-11-2005, 02:02 PM
If your having trouble with a PHP form, use Thybags form handler "/

- Dan

Want to hide these adverts? Register an account for free!