// here i got the error "cannot modify header information
?>
i have a problem wiz header here coz when i post data from a form to this page to send an e-mail , i force the page to go to welcome.php using header but it show me a message
" CANNOT MODIFY HEADER INFORMATION"
i treid to remove the <html><body >.... tags and it could not work correctly it shows the same message
and when i tried to put the header in the top of the code it did not work correctly on the server
can anyone help me plz
You cannot send a header after you have echoed output. Headers can only be sent before any output is echoes because echoing sends a header automatically.
Also PLEASE use php tags when posting code, I was ready to just hit back like I do with most threads where the code is not formatted properly, I only posted because it was so quick to see the problem in this case.
Bookmarks