Re: [PHP] Re: How to disable access to the site

2001-08-27 Thread Yasuo Ohgaki
Yasuo Ohgaki wrote: > Andre Lacour wrote: > >> if (!isset($HTTP_COOKIE_VARS[$cookiename])) exit(); > > > > This may work, but it could result unwanted behaviour for broken > browsers that do not send cookie correctly. Some broken browsers do not > send cookie first time sometimes. We need

Re: [PHP] Re: How to disable access to the site

2001-08-27 Thread Yasuo Ohgaki
Andre Lacour wrote: > if (!isset($HTTP_COOKIE_VARS[$cookiename])) exit(); This may work, but it could result unwanted behaviour for broken browsers that do not send cookie correctly. Some broken browsers do not send cookie first time sometimes. We need to direct once to make sure. This wor

RE: [PHP] Re: How to disable access to the site

2001-08-27 Thread Andre Lacour
if (!isset($HTTP_COOKIE_VARS[$cookiename])) exit(); > -Original Message- > From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 27, 2001 9:49 AM > To: [EMAIL PROTECTED]; Sunil Jagarlamudi > Subject: [PHP] Re: How to disable access to the site > >

[PHP] Re: How to disable access to the site

2001-08-27 Thread Yasuo Ohgaki
Sunil Jagarlamudi wrote: > How to disable access to the entire site if the cookie > is not set ? > > Can we disable access entirely with some kind of a > script which checks before it allows access ? Take a look at http://www.zend.com/codex.php?id=458&single=1 There are many ways to do that.