I tried use Header function, but i get a error: 'Warning: Cannot modify header information - headers already sent by'.
How to make a redirect?
Thanks in advance.
I tried use Header function, but i get a error: 'Warning: Cannot modify header information - headers already sent by'.
How to make a redirect?
Thanks in advance.
headers can not be sent if something was ecohed to the browser. please make sure that your script does not print spaces or line breaks outside the tags
Your header() call must be sent before writing any html code (no one 'echo' call and no text before the first <?php
).