Thanks for your reply... perhaps you didn't see in the first paragraph of my original thread that I did change the form action to feedback.php. I was able to paste the code into notepad and uploaded. Any idea where I go from here?
Quote:
|
Originally Posted by Pablo If you read the previous threads about this subjkect carefully you'll notice that you have to enter 'feedback.php' in the action field instead of mailto:you@youremail.com
Here's the complete instruction once again:
Change the form properties (in BlueVoda) to:
Action: feedback.php
Method: POST
EncodingType:
(remove the text/plain, so the field becomes empty)
Now create a new file using Notepad and call it: feedback.php
Enter the following code into the file: <HTML> <HEAD> <TITLE>Thank you for your feedback</TITLE> </HEAD> <BODY> <H2>Thank you for your feedback!</H2> <?PHP $email = $HTTP_POST_VARS[email]; $mailto = "yourname@yourdomain.com"; $mailsubj = "Feedback form"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); ?> </BODY> </HEAD>
Make sure your form contains an editbox with the name 'email'
Finally upload feedback.php to your web server.
Instead of create the feedback page using notepad you can also use BlueVoda: http://www.vodahost.com/vodatalk/bluevoda-general-issues/809-help-forms.html
and scroll all the way down to see my last post. |