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 Quote 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. Quote 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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.