A simple PHP form not working

From: Date: Tue, 25 Sep 2001 03:26:11 +0000
Subject: A simple PHP form not working
Groups: php.general 
Request: Send a blank email to php-general+get-68637@lists.php.net to get a copy of this message
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 <HTML></BODY> <FORM method=post action="feedbacksend.php"> Email: <INPUT name="email" type="text"><br> Message:<br> <TEXTAREA name="message"> </textarea><br> <input type=submit value=Submit> </FORM> </BODY></HTML> feedbacksend.php <?php mail("norbu@druknet.net.bt", "Feedback Form Results",$message, "From: $email"); ("Location:thankyou.html"); ?> Thanks. NORBU

« previous php.general (#68637) next »