Try with output buffering.
Regards,
Andrey Hristov
- Original Message -
From: Matt Babineau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 6:20 PM
Subject: [PHP] $_SESSION - autostart, or session_start() ?
If I set the SESSION autostart = 1 in the PHP
The error is pretty self-explanatory. You aren't starting the session before
soemthing is being written to the page.
This will yeild the same error:
-top of document--
!-- BEGIN DOCUMENT
?php session_start(); ?
-botton of doc-
This is because something has been sent to
Call session_start() before ANY output. html is OUTPUT.
---John Holmes...
- Original Message -
From: Matt Babineau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 11:20 AM
Subject: [PHP] $_SESSION - autostart, or session_start() ?
If I set the SESSION
3 matches
Mail list logo