Full-Demon Posted August 23, 2007 Share Posted August 23, 2007 Hi, header() doesn't works properly. When I write the following: header("Location: index.php"); It doesn't redirects me, only when I echo something AFTER the header(); header("Location: index.php"); echo 'wtf?'; WTF??? What is wrong? Why doesn't header(); works immediatly? Thanks alot, FD Quote Link to comment Share on other sites More sharing options...
seavers Posted August 23, 2007 Share Posted August 23, 2007 Works fine for me, is there any space at all between the top of your page and this function? Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 23, 2007 Share Posted August 23, 2007 Show us all of the code Quote Link to comment Share on other sites More sharing options...
MadTechie Posted August 23, 2007 Share Posted August 23, 2007 and or read the pinned header problem thread here Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.