First of all, you need to type

header("Location: thankyou.html");
exit;

Try that...

-Jason Garber
deltacron.com


At 09:26 AM 9/25/2001 +0600, Tshering Norbu wrote:
>Hi list,
>I can not get the form (from thesitewizard) working. When I submit the form,
>I get this error: "Warning: Failed to Connect in c:\Program Files\Apache
>Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2."  My PHP
>conf with Apache has no problem. What am I doing wrong? Sorry, I am a
>beginner in PHP.
>Here are 2 php files:
>
>feedback.html
>
>Email:
>Message:
>
>
>
>
>feedbacksend.php
>
><?php
>mail("[EMAIL PROTECTED]", "Feedback Form Results",$message, "From:
>$email");
>("Location:thankyou.html");
>?>
>
>
>
>
>
>Thanks.
>NORBU
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to