Hi,

I have a form which when submitted, calls an html page which contains PHP code.  
Within that code, I wish to redirect my users to another page under certain 
conditions.  So, in my code, I have the following lines:

Header(  "Location:http://www.mydomain.com/mypage.html";);
exit;

However, when the above is run, I get the following error generated:

Warning: Cannot add header information - headers already sent by (output started at 
/usr/local/www/vhosts/mydomain.com/htdocs/mypage.html:7) in 
../phpscript/general/formmail.php on line 100

Does anyone know what this error means?

hanks,
Don


Reply via email to