View Single Post
  #4  
Old 01-13-2008, 03:02 PM
Rob (SA)'s Avatar
Rob (SA) Rob (SA) is offline
Major
 
Join Date: Nov 2006
Location: Centurion, South Africa
Posts: 254
Thumbs up Re: Entry form - error

Hi Andy,

I think this is the php script you are requesting

<script language="php">
$email = "email";
$mailto = robhar@mweb.co.za;
$mailsubj = "Feed back submission";
$mailhead = "From:email";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
</script>
__________________
Kind Regards
Rob
www.gnjgf.co.za
www.oryan-projects.com
Reply With Quote