//mail excerpt $to = ''gnu@your.site.com, $visitor@your.site.com''; $from = ''website@your.site.com''; if (isset($HTTP_POST_VARS)){ $body = ''''; while (list($key, $value) = each($HTTP_POST_VARS)){ $body .= $key . '' = '' . $value . "rn"; } $headers = "From: $fromrn"; $headers .= "Reply-To: $fromrn"; $success = mail($to, "Posted " . date("m/d/Y"), $body, $headers); } // end mail excerpt
This article was originally written by gnu |