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 ?php session_start(); ? and includes the banner page: 'top1.php' [banner page] ?php

[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 ?php session_start(); ? and includes the banner page: 'top1.php' [banner page] ?php if((eregi(((Yahoo! Slurp|Yahoo! Slurp

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() [a href='function.session-destroy'function.session-destroy/a]: Trying to destroy uninitialized session Question is: didn't the session_start(); on the

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() [a href='function.session-destroy'function.session-destroy/a]: Trying to destroy

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 ?php session_start(); ? and includes the banner page: 'top1.php' [banner page] ?php