Re: [PHP4BETA] handlers

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [PHP4BETA] handlers
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6794@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. You can define an auto_prepend_file to be called for all PHP requests. -Rasmus

« previous php.version4 (#6794) next »