Jump to content
xisto Community
Sign in to follow this  
iGuest

Php mailto form help

Recommended Posts

Ok, i found a script that i'm trying to use, but i'm having a problem with it. What happens is, whenever a user visits the page that has the script on it, it mails me a blank email. It's kinda confusing, because i dont really know anything about php mailing stuff, anyway here's the script.

<script LANGUAGE="php">   $email = $HTTP_POST_VARS[email];   $mailto = "admin@ghost-killa.shwaza.hostmatrix.org";   $mailsubj = "Comment sent by visitor";   $mailhead = "From: $emailn";   reset ($HTTP_POST_VARS);   $mailbody = "Values submitted from web site form:n";   while (list ($key, $val) = each ($HTTP_POST_VARS)) {       $mailbody .= "$key : $valn"; }   mail($mailto, $mailsubj, $mailbody, $mailhead);</SCRIPT>

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.