Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP redirect page

So i have a multiply if statements in php. And I tried add redirect page in one line.
<?php header('Location: /index.php'); ?>
And it returns errors such as:
Warning: Cannot modify header information - headers already sent by (output started at www/gate.php:9) in www/gate.php on line 39
The header() must be before any output (echo and/or HTML).
You see, Doctor, God didn't kill that little girl. Fate didn't butcher her and destiny didn't feed her to those dogs.
If God saw what any of us did that night he didn't seem to mind. From then on I knew... God doesn't make the world this way.
We do.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by HihhuliApr 26, 2016 02:50 PM 4 107 Apr 26, 2016 02:50 PM
Last Post: SloppyCode
by faneliseApr 9, 2016 12:24 AM 1 389 Apr 9, 2016 12:24 AM
Last Post: SIM-2848947
[Wordpress] by ZempAug 17, 2015 12:28 AM 4 190 Aug 17, 2015 12:28 AM
Last Post: Zemp