handlers
| From: | Paul Dlug | Date: | Tue, 23 Nov 1999 23:22:23 +0000 |
| Subject: | handlers | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6786@lists.php.net to get a copy of this message | ||
Can mod_php be used to create handlers? For example...I would like to
use cookies as a method of authentication, when the user logs in they
get a cookie, if they cookie is not set they are redirected to a login
page. Can I setup a global handler in PHP that does this whenever any
page is called or do I have to 'require' a file on top of any page I
want protected?? Or do I have to compile mod_perl in as wellas mod_php
and implement with that? I was hoping to keep this pure php.
Thanks,
Paul