TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Header("location: --- not supported on PHP 4.4?

Page: 1 Reply
Feb 22nd 2006#172163 Report
Member since: May 6th 2004
Posts: 15
I use this script on my login page as a redirection on PHP 5 and it works:

header("Location: index.php");

but when I upload it on PHP 4.4 it says:

Warning: Cannot add header information - headers already sent by (output started at /login.php:3) in /login.php on line 10

anyone?

Thanks
Reply with Quote Reply
Mar 6th 2006#172255 Report
Member since: Mar 18th 2001
Posts: 6632
Again some simple googling can find the problem for you. Usually has to do with starting sessions.

http://www.blingo.com/search?q=%22headers%20already%20sent%22&x=0&y=0
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum