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
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
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
>
>
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.
4 matches
Mail list logo