Re: [PHP] Apache SetHandler

2003-04-05 Thread Zoff
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

Re: [PHP] Apache SetHandler

2003-04-05 Thread Rasmus Lerdorf
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

Re: [PHP] Apache SetHandler

2003-04-04 Thread Zoff
Hi ! what i want is to write something in PHP which does authentication (not basic auth but my own DB driven stuff) and after that something apache resumes normal operation so that whatever is served afterwards does not need to know anything of the auth process. e.g.: -- apache -- PHP-script --

Re[2]: [PHP] Apache SetHandler

2003-04-04 Thread Tom Rogers
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

[PHP] Apache SetHandler

2003-04-03 Thread Zoff
Hi Guys! ich have a question with apache and mod_perl I can write a Handler in perl which is called before anything else happens. this allows me to write all sorts of auth stuff. is there something similar in PHP. e.g.: in httpd.conf Directory /foobar SetHandler MyFoo.php /Directory this would

Re: [PHP] Apache SetHandler

2003-04-03 Thread Jason Wong
On Thursday 03 April 2003 17:06, Zoff wrote: ich have a question with apache and mod_perl I can write a Handler in perl which is called before anything else happens. this allows me to write all sorts of auth stuff. is there something similar in PHP. e.g.: in httpd.conf Directory /foobar

Re: [PHP] Apache SetHandler

2003-04-03 Thread Zoff
Jason Wong wrote: On Thursday 03 April 2003 17:06, Zoff wrote: ich have a question with apache and mod_perl I can write a Handler in perl which is called before anything else happens. this allows me to write all sorts of auth stuff. is there something similar in PHP. e.g.: in httpd.conf

Re: [PHP] Apache SetHandler

2003-04-03 Thread Jason Wong
On Thursday 03 April 2003 22:38, Zoff wrote: that's not what I want. I want something where all the POST and GET data gets passed thru transparently. and where I can serve static and dynamic pages as well. mod_perl can do this. In that case I really have no idea what you want. Could you give

Re: [PHP] Apache SetHandler

2003-04-03 Thread Erwin Kerk
Zoff wrote: Hi Guys! ich have a question with apache and mod_perl I can write a Handler in perl which is called before anything else happens. this allows me to write all sorts of auth stuff. is there something similar in PHP. There is a topic in the php manual which describes something