* Thus wrote Bob Lockie ([EMAIL PROTECTED]): > On 05/21/04 16:08 Michael R. Wayne spoke: > >On Fri, May 21, 2004 at 10:01:56PM +0200, Paul Godard wrote: > > > >>Hi > >> > >>All my web sites suddenly stopped working after my ISP installed the > >>newer php 4.3.6 released. The problem is when calling the > >>session_start() function. It seems that the warning message saying that > >>the session has already started and that the function will be ignored > >>makes the php script stop at this point although it is a warning. This > >>worked perfectly in php 4.3.4. > >> > >>What should I do to be compatible with php 4.3.6? > > > > > >This is because your ISP has likely set > > session.auto_start = 1 > >in php.ini > > > >Either have the ISP set it to 0 or remove all session_start calls > >from your scripts to eliminate the warnings. > > Would putting an '@' in front of all session_start calls hide the problem?
Hide? yeah... Good Idea? No if (! session_id() ) session_start(); Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php