saini_pam85 Posted July 25, 2008 Share Posted July 25, 2008 unable to bring the control from one page to another page through "Header(location:) showing error like Warning: Cannot add header information - headers already sent by (output started at c:\apache\htdocs\smarty\demo\check_password.php:3) in c:\apache\htdocs\smarty\demo\check_password.php on line 27 Link to comment https://forums.phpfreaks.com/topic/116571-solved-unable-to-bring-the-control-from-one-page-to-another-page-through-quotheaderquot/ Share on other sites More sharing options...
ratcateme Posted July 25, 2008 Share Posted July 25, 2008 you have already sent out output using echo or some other method just move the header() above any echo or other output besides headers Scott. Link to comment https://forums.phpfreaks.com/topic/116571-solved-unable-to-bring-the-control-from-one-page-to-another-page-through-quotheaderquot/#findComment-599386 Share on other sites More sharing options...
saini_pam85 Posted July 25, 2008 Author Share Posted July 25, 2008 thanx scott Link to comment https://forums.phpfreaks.com/topic/116571-solved-unable-to-bring-the-control-from-one-page-to-another-page-through-quotheaderquot/#findComment-599402 Share on other sites More sharing options...
DeanWhitehouse Posted July 25, 2008 Share Posted July 25, 2008 people never read the post near the top about header errors. And click topic solved if solved Link to comment https://forums.phpfreaks.com/topic/116571-solved-unable-to-bring-the-control-from-one-page-to-another-page-through-quotheaderquot/#findComment-599403 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.