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. This is one of them.
> 
> --
> Yasuo Ohgaki
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to