Page 2 of 2

Posted: Sat Feb 14, 2004 1:35 pm
by joejoe
Yes, it is just the bottom.

With the addition that I can now view the page. When I submit the form:

with empty fields:

Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/faq.php:1) in /home/mysite/public_html/faq.php on line 211

(line 211 = header("Location: http://www.mysite.com/form_unsuccess.php");

with completed fields:

Message Sent
Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/faq.php:1) in /home/mysite/public_html/faq.php on line 208

( line 208 = header("Location: http://www.mysite.com/form_success.php");


In the last one, I don't want anything written either - the 'Message Sent' bit

Posted: Sat Feb 14, 2004 1:58 pm
by joejoe
Should've said, although probably apparent, that the error messages are appearing at the bottom of the original page, after the form.

Thank you for your time - got to go out now - evening here in Europe. Will check back later to see if any ideas.

Thanks again Illusionist & Straterra.

Posted: Sat Feb 14, 2004 4:57 pm
by DuFF
For help getting rid of those "Cannot modify header information" errors, take a look at this tutorial. You will probably need to use ob_start.

viewtopic.php?t=1157