RE: [PHP] Re: How to disable access to the site
| From: | Andre Lacour | Date: | Mon, 27 Aug 2001 07:53:36 +0000 |
| Subject: | RE: [PHP] Re: How to disable access to the site | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64590@lists.php.net to get a copy of this message | ||
if (!isset($HTTP_COOKIE_VARS[$cookiename])) exit();
> -----Original Message-----
> From: Yasuo Ohgaki [mailto:yasuo_ohgaki@yahoo.com]
> Sent: Monday, August 27, 2001 9:49 AM
> To: php-general@lists.php.net; 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>