Re: Help | | jiallen hi andy you are asking a good question at one point i entered action.php in one of the boxs if this is what you mean but is this a seperate page below is the php scipt <?PHP $mailto = "info@the-bestbookshop.co.uk"; $email = $HTTP_POST_VARS['email']; if ($email == "") { $email = $mailto; } $mailsubj = "Contact Form Submission"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form :\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { if ($key!="submit") { $mailbody .= "$key : $val\n"; } } mail($mailto, $mailsubj, $mailbody, $mailhead); ?> thanks for your help ivan
Last edited by jiallen4729; 09-25-2007 at 09:25 AM.
Reason: add thank you
|