On Wed, Oct 11, 2000 at 03:47:08PM +0200, Ben-Nes Michael wrote:
> What i had in mind
> 
> Is when surfer get into some directory (lets say admin), before every request
> a PHP script which exist in file.php must be served.

Additionally to what Evgeny said, you can to it not system-wide
but apply to certain directories by placing the directives:

php3_auto_prepend_file header.inc
php3_auto_append_file footer.inc

.. or for PHP4:

php_value auto_prepend_file header.inc
php_value auto_append_file header.inc

You can place those in the .htaccess file in the script's
directory, or in the <Directory> and <Location> blocks.

(of course, I expect you use PHP as an Apache module)

-- 
Best regards,
Ilya Konstantinov

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to