Re: [PHP] Session and header() errrors

2001-10-04 Thread Naintara Jain
; <[EMAIL PROTECTED]> Cc: <[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 occur

Re: [PHP] Session and header() errrors

2001-10-04 Thread Dimitris Kossikidis
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 session. - Original Message - From: "Web user" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursda

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