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

<Directory /foobar>
SetHandler MyFoo.php
</Directory>

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.

Zoff.


Have a look at the auto_prepend_file and auto_append_file settings in php.ini. Note that you can set these per domain/directory by appropriate entries in httpd.conf/.htaccess.




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



Reply via email to