Bingo
ya know I knew that about the headers but it threw me since it worked on my box
perfectly no matter where I put the session_start();
Lo and behold I check out the php.ini on my box and there it was:
output buffering=4096
I did not know about the output buffering. BUT I just moved my sess
Mignon Hunter wrote:
...
> [23-Mar-2005 09:04:47] PHP Warning: Cannot send session cookie - headers
> already sent by (output started at /var/www/htdocs/sess_downloads_p2.php:5)
> in /var/www/htdocs/sess_downloads_p2.php on line 60
> [23-Mar-2005 09:04:47] PHP Warning: Cannot send session cache
You need to make sure that output_buffering is turned on in your php.ini
file on the dev server.
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
*/
?>
> From: "Mignon Hunter" <[EMAIL PROTECTED]>
> Date: Wed, 23
Is register_globals turned on or off?
- Original Message -
From: "Gaylen Fraley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 09, 2001 6:13 AM
Subject: [PHP] session woes
> I have a friend who is using an ISP that uses php4.0.3pl1 . It appears that
> session_reg
4 matches
Mail list logo