Re: [PHP] PHP Warning: session_destroy

2007-01-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-20 17:14:34 -0500: > To stop bots from accessing secured pages, I've added the following > code to a banner page that is called by every page. Furthermore, each > page starts with and includes the banner > page: > > 'top1.php' [banner page] > >if((eregi("((Y

Re: [PHP] PHP Warning: session_destroy

2007-01-20 Thread Jochem Maas
Andre Dubuc wrote: > Hi, > > To stop bots from accessing secured pages, I've added the following code to a > banner page that is called by every page. Furthermore, each page starts with > and includes the banner page: > > 'top1.php' [banner page] > >if((eregi("((Yahoo! Slurp|Yahoo! Sl

Re: [PHP] PHP Warning: session_destroy

2007-01-20 Thread Andre Dubuc
On Saturday 20 January 2007 05:33 pm, Paul Novitski wrote: > At 1/20/2007 02:14 PM, Andre Dubuc wrote: > >However, checking the live version, I get an secure-error_log entry: > > > >"PHP Warning: session_destroy() [ >href='function.session-destroy'>function.session-destroy]: Trying to > >destroy u

Re: [PHP] PHP Warning: session_destroy

2007-01-20 Thread Paul Novitski
At 1/20/2007 02:14 PM, Andre Dubuc wrote: However, checking the live version, I get an secure-error_log entry: "PHP Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session" Question is: didn't the session_start(); on the calling page take effect, or is th

[PHP] PHP Warning: session_destroy

2007-01-20 Thread Andre Dubuc
Hi, To stop bots from accessing secured pages, I've added the following code to a banner page that is called by every page. Furthermore, each page starts with and includes the banner page: 'top1.php' [banner page] http://localhost/logout.php";); } } ?> I'm testing on