Help - Search - Members - Calendar
Full Version: Problems With Php Function Session_start()
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
aewen007
Hi,
I'm getting an error being displayed when I want to start a session in PHP. This is it:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /www/vndv.com/d/r/e/dreday/htdocs/register.php:7) in /www/vndv.com/d/r/e/dreday/htdocs/register.php on line 31


Can someone explain to me whats going on and why its coming up. Thanks
Alex
session_start() has to be before any output to the browser, (any echo, any characters outside <?php and ?>) if there is some output prior to the function being called you get an error like that above.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.