| 
	
 | 
 Posted by Rik on 05/16/06 01:50 
lawrence k wrote: 
> I'm getting this warning: 
> 
> [15-May-2006 18:11:35] PHP Warning:  session_start(): Cannot send 
> session cache limiter - headers already sent in 
> 
/home/httpd/vhosts/monkeyclaus.org/httpdocs/media/audio/pdsIncludes/CommandS 
tartSession.php 
> on line 14 
 
http://nl2.php.net/manual/en/function.session-start.php 
Note: If you are using cookie-based sessions, you must call session_start() 
before anything is outputted to the browser. 
 
Comment of header() is also applicable: 
http://nl2.php.net/manual/en/function.header.php 
Remember that header() must be called before any actual output is sent, 
either by normal HTML tags, blank lines in a file, or from PHP. It is a very 
common error to read code with include(), or require(), functions, or 
another file access function, and have spaces or empty lines that are output 
before header() is called. The same problem exists when using a single 
PHP/HTML file. 
 
Grtz, 
--  
Rik Wasmus
 
[Back to original message] 
 |