jwk811 Posted November 14, 2006 Share Posted November 14, 2006 is there another way to redirect unstead of the ("Location: index.php") thing?i would use that but im getting this error so maybe youll know whats wrong here insteadCannot modify header information - headers already sent by ... Link to comment https://forums.phpfreaks.com/topic/27173-redirect/ Share on other sites More sharing options...
marcus Posted November 14, 2006 Share Posted November 14, 2006 show your code Link to comment https://forums.phpfreaks.com/topic/27173-redirect/#findComment-124254 Share on other sites More sharing options...
jwk811 Posted November 14, 2006 Author Share Posted November 14, 2006 heres the main.php file Link to comment https://forums.phpfreaks.com/topic/27173-redirect/#findComment-124263 Share on other sites More sharing options...
marcus Posted November 14, 2006 Share Posted November 14, 2006 are you going to post it? Link to comment https://forums.phpfreaks.com/topic/27173-redirect/#findComment-124267 Share on other sites More sharing options...
trq Posted November 14, 2006 Share Posted November 14, 2006 There is a FAQ with regard to header errors at the top of this forum, read it. Link to comment https://forums.phpfreaks.com/topic/27173-redirect/#findComment-124268 Share on other sites More sharing options...
jwk811 Posted November 14, 2006 Author Share Posted November 14, 2006 its not letting me post it Link to comment https://forums.phpfreaks.com/topic/27173-redirect/#findComment-124270 Share on other sites More sharing options...
marcus Posted November 14, 2006 Share Posted November 14, 2006 put it in code tags. Link to comment https://forums.phpfreaks.com/topic/27173-redirect/#findComment-124271 Share on other sites More sharing options...
trq Posted November 14, 2006 Share Posted November 14, 2006 Dont bother. Just read the FAQ. Link to comment https://forums.phpfreaks.com/topic/27173-redirect/#findComment-124273 Share on other sites More sharing options...
The Little Guy Posted November 14, 2006 Share Posted November 14, 2006 put the [b]header("Location: page.php");[/b] before anything is outputted to the browser. Link to comment https://forums.phpfreaks.com/topic/27173-redirect/#findComment-124289 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.