|  | Posted by number1.email on 12/21/05 00:35 
Hello,
 I have created a very simple program (at least I thought) to create a
 feedback system in php.
 
 I basically have two files, and they are "feedback.php", which calls
 "sendmail.php".  Instead
 of it sending an email as I would like, I get the error:
 
 We can't find  "http://www.mydbsite.com/sendmail.php"
 
 I've tried changing these two files to index.php and index2.php...but
 that doesn't seem to solve the problem.
 
 www.mydbsite.com is my domain.  Does anyone know what the problem is?
 
 Thanks...
 
 feedback.php
 ------------
 
 <html>
 <head>
 <title>Title of page</title>
 </head>
 <body>
 <form action="sendmail.php" method="post" name="feedback">
 Email: <input name="email" type="text" /><br />
 Message:<br />
 <textarea name="message" rows="15" cols="40">
 </textarea><br />
 <input type="submit" />
 </form>
 </body>
 </html>
 
 
 sendmail.php
 ------------
 
 <?
 $email = $_REQUEST['email'] ;
 $message = $_REQUEST['message'] ;
 
 mail( "yourname@example.com", "Feedback Form Results",
 $message, "From: $email" );
 header( "Location: http://www.example.com/thankyou.html" );
 ?>
  Navigation: [Reply to this message] |