surely if headers had already been sent, it would give an error telling you so. In my files, the page is displayed properly, in full, with no errors... but cookies are missing from the server and being sent.
chris kranz fatcuban.com -----Original Message----- From: Neil Smith [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 10:19 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Subject: cookies problem (FIXED) Well the fact that this fixed it, tends to imply you were outputting some warn level messages before cookies were sent, therefore they weren't : A cookie is a header, and like any HTTP header they must be sent before any other content (even a newline or linebreak can do it). If you pushed any error messages (such as a warning that a variable was not yet defined etc) before sending your cookie or other headers, this would cause your symptoms. HTH Neil Smith. At 03:33 19/01/2003 +0000, you wrote: >Message-ID: <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >From: "Ed" <[EMAIL PROTECTED]> >Date: Sat, 18 Jan 2003 17:03:00 -0600 >Subject: Re: Subject: cookies problem (FIXED) > >It's not a browser problem, as I said in my post php wasn't saving the >cookies. This seems to be a widespred problem after searching many mailing >lists and seeing this problem on every one of them, with no fixes. I had >already changed my path to c:\php\sessions, so that wasn't the problem >either. What finally fixed it was changing this in the php.ini file: > >error_reporting = E_ALL > >To This: >error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR > >Now cookis and sessions work just like they're supposed to. > >Ed -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php