[PHP] Session and header() errrors

2001-10-04 Thread Web user
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

Re: [PHP] Session and header() errrors

2001-10-04 Thread Rasmus Lerdorf
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

Re: [PHP] Session and header() errrors

2001-10-04 Thread Dimitris Kossikidis
: 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

Re: [PHP] Session and header() errrors

2001-10-04 Thread Naintara Jain
[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