PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
My Problem is that while user is getting logout ,and once again getting loged in without closing that broweser.
i am finding this error.
Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/teknowed/greatindian.in/marble/myaccount/login.php:16) in /hsphere/local/home/teknowed/greatindian.in/marble/myaccount/login.php on line 345
You can only set Headers if nothing has been output to the browser. In login.php ensure no whitespace exists before the opening PHP tag, or after the closing ?> tag.
unless you can show us line 16 (or preferably 14-18) cant help you identify where your script is outputting whitespace when it shouldnt be. it could be some variable you have output to test your script and have forgotten to remove. go through your script slowly and make sure there are no occurrences such as this!:P