sparkicks Posted April 6, 2006 Share Posted April 6, 2006 im trying to redirect people when the login is varified but it keeps coming up with thisWarning: Cannot modify header information - headers already sent by (output started at c:\web\htdocs\validate.php:5) in c:\web\htdocs\validate.php on line 22bare with me as i have only started php a day or 2 agoline 22 header('location: ogin_sucessfull.php');i have tried with " or ' with my full addy and with just the page any sugestions would be apreciated Link to comment https://forums.phpfreaks.com/topic/6737-header-error/ Share on other sites More sharing options...
trq Posted April 6, 2006 Share Posted April 6, 2006 Did you read the sticky thread at the top of this forum? Link to comment https://forums.phpfreaks.com/topic/6737-header-error/#findComment-24504 Share on other sites More sharing options...
sparkicks Posted April 6, 2006 Author Share Posted April 6, 2006 no and after reading it im not in any position better then i was... i didnt write to the header b4 that.... Link to comment https://forums.phpfreaks.com/topic/6737-header-error/#findComment-24507 Share on other sites More sharing options...
trq Posted April 6, 2006 Share Posted April 6, 2006 Any output. eg, call to echo, html, whitespace will send headers. Check you have no white spce before your opening <?php tags. Link to comment https://forums.phpfreaks.com/topic/6737-header-error/#findComment-24511 Share on other sites More sharing options...
sparkicks Posted April 6, 2006 Author Share Posted April 6, 2006 got it thanks i didnt realise that that included <html> tag Link to comment https://forums.phpfreaks.com/topic/6737-header-error/#findComment-24518 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.