Re: Error message

From: Date: Sun, 21 Sep 2008 13:31:19 +0000
Subject: Re: Error message
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-280634@lists.php.net to get a copy of this message
At 10:26 AM +0100 9/21/08, Ashley Sheridan wrote:
It's an easy mistake to make, not just reserved for rookies ;) I had a similar problem
Me too, I think we've all been bitten by that. The point is simply don't send anything to the browser before "<?php" if you're going to be using session_start(); You can do this: --------start of document <?php session_start(); But you can't do this: --------start of document <?php session_start(); Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#280634) next »