NLT Posted May 27, 2012 Share Posted May 27, 2012 Cannot modify header information - headers already sent by register.php:25 in register on line 117 Code: http://pastebin.com/XaSicWvU I have also had a error on the second part with a redirect loop. Quote Link to comment https://forums.phpfreaks.com/topic/263229-header-error/ Share on other sites More sharing options...
Psycho Posted May 27, 2012 Share Posted May 27, 2012 On line 25 you are echo'ing content to the output page. You can send NO output to the page before any header commands. Quote Link to comment https://forums.phpfreaks.com/topic/263229-header-error/#findComment-1349044 Share on other sites More sharing options...
NLT Posted May 27, 2012 Author Share Posted May 27, 2012 So should I move the script around or...? It's in $_GET contents, so that really shouldn't be executed (if you know what I mean). Quote Link to comment https://forums.phpfreaks.com/topic/263229-header-error/#findComment-1349045 Share on other sites More sharing options...
NLT Posted May 27, 2012 Author Share Posted May 27, 2012 Ah yes, I did also forget to mention: Fatal error: cannot use string offset as an array in register.php:112 Quote Link to comment https://forums.phpfreaks.com/topic/263229-header-error/#findComment-1349047 Share on other sites More sharing options...
NLT Posted May 28, 2012 Author Share Posted May 28, 2012 Nevermind. Quote Link to comment https://forums.phpfreaks.com/topic/263229-header-error/#findComment-1349224 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.