Why do the errors occur while running the scripts below? It seems that the
errors occured at the part of session and header(). Please give me some
advice!
Thank you!
Mike
System: PHP4.06 + Apache 1.3.20 Win32 + Win98 (the session configurations
are default in php.ini)
when the 1.php is
You can't send any output before the session_start() call. You require a
file which outputs html before calling session_start(). Simply do the
session_start() before the require and it should work.
-Rasmus
On Thu, 4 Oct 2001, Web user wrote:
Why do the errors occur while running the scripts
: Thursday, October 04, 2001 11:51 AM
Subject: [PHP] Session and header() errrors
Why do the errors occur while running the scripts below? It seems that the
errors occured at the part of session and header(). Please give me some
advice!
Thank you!
Mike
System: PHP4.06 + Apache 1.3.20 Win
[EMAIL PROTECTED]
Sent: Thursday, October 04, 2001 4:48 PM
Subject: Re: [PHP] Session and header() errrors
You should change sessions configuration in php.ini
The default value for sessions dir /tmp.
In windows shoud point to c:\tmp
The header error occurs because you get a warning about sessi
4 matches
Mail list logo