I got 2 warning message during user login:The users is successfully loggin, how can I fix it?
Warning: Cannot add header information - headers already sent by (output started at /home/public_html/connect.php:1) in /home/public_html/setcookies.php on line 9
Warning: Cannot add header information - headers already sent by (output started at /home/public_html/connect.php:1) in /home/public_html/setcookies.php on line 10
Hello User1!
Comments
Photoshop Tutorials- Coming soon
Premium PHP Scripts- Coming soon
Haha i should really do some work so i can remove all the coming soon's
You can get around this using PHP's output buffering features (it stores all the output till you tell it to send it to the end user or you could try fixing the problem with multiple headers.
Current project: CMS Object.
Most recent change: Theme support is up and running... So long as I use my theme resource loaders instead of that in the Rails plug-in.
Release date: NEVER!!!
The Royal Ram
ob_start();
And just before the very last ?> add:
ob_end_flush();
That will fix your error.
http://www.webmaster-forums101.com/
http://www.oe-design.com/