i have this mail form that for some reason won't or isn't receiving variables. I receive that email and the text that isn't $_POST('name'). i even tried setting one to GET and entered the info in the URL but even then it didn't work. any suggestions?
here's the php code:
<?php
$message = "Contact from web site.\r\n\r\nName: " . stripslashes($POST['name']) . "\r\n" .
"Address: " . stripslashes($POST['address']) . "\r\n" .
"City: " . stripslashes($POST['city']) . "\r\n" .
"State: " . stripslashes($POST['state']) . "\r\n" .
"email: " . $POST['email'] . "\r\n" .
"Phone: " . $POST['phone'] . "\r\n" .
"Comments: " . stripslashes($_POST['comments']);
mail ('me@mydomain.com', 'Web contact', $message, 'From: [email]info@mydomain.com[/email]');
?>
and the email i receive is just this, even when trying GET through the web browser and URL insertion, blank:
Contact from web site.
Name:
Address:
City:
State:
email:
Phone:
Comments: