Re: A simple PHP form not working
| From: | Tshering Norbu | Date: | Tue, 25 Sep 2001 04:59:11 +0000 |
| Subject: | Re: A simple PHP form not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68642@lists.php.net to get a copy of this message | ||
I did try that before too and here is what I got/get :
Warning: Failed to Connect in c:\Program Files\Apache
Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 2
Warning: Cannot add header information - headers already sent by (output
started at c:\Program Files\Apache
Group\Apache\htdocs/druknet/feedback/feedbacksend.php:2) in c:\Program
Files\Apache Group\Apache\htdocs/druknet/feedback/feedbacksend.php on line 3
I am sorry to bother you, Jason.
NORBU
----- Original Message -----
From: Jason G. <blair@nb.net>
To: Tshering Norbu <norbu@druknet.net.bt>; <php-general@lists.php.net>
Sent: Tuesday, September 25, 2001 10:35 AM
Subject: Re: [PHP] A simple PHP form not working
> 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("norbu@druknet.net.bt", "Feedback Form Results",$message,
> >"From:
> >$email");
> >("Location:thankyou.html");
> >?>
> >
> >
> >
> >
> >
> >Thanks.
> >NORBU
> >
> >
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-general-help@lists.php.net
> >To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net