This can be done using the apache_hooks sapi module.  Look in
sapi/apache_hooks in the 4.3 sources for details.

-Rasmus

On Sat, 5 Apr 2003, Zoff wrote:

> Tom Rogers wrote:
> > Hi,
> >
> > Saturday, April 5, 2003, 6:29:50 AM, you wrote:
> > Z> Hi !
> >
> > Z> what i want is to write something in PHP which does authentication
> > Z> (not basic auth but my own DB driven stuff) and after that something
> > Z> apache resumes normal operation so that whatever is served afterwards
> > Z> does not need to know anything of the auth process.
> >
> > You would probably be better off using an apache module for this.
> > Something like Mod Auth MySQL It would be easy to make the module
> > set a few enviroment variables if you need to pass info to php.
> >
>
> yeah but my question is:
> is it possible to write an apache module in PHP.
> or do something real close to that ?
>
> please some answer my question and don't give me something else i could do.
> I am not a newbie i know what i need, and i also know what else i could use.
>
>       thanks
>
>       Zoff.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to