Re: [phplib] Protecting a Folder of Files with AUTH From: Lauren Matheson (inan <email protected>)
Date: 03/12/01

If you have the permissions to (from httpd.conf), you can adjust PHP settings
in .htaccess files. So, you can set the php prepend to be a file that
whatever functions you want before each page. There's more details on the php
page if you lookup php.ini settings.

Lauren.

Brian Popp wrote:

> I usually put my page_open and page_close functions into a wrapper function
> and then call them respectively at the top and bottom of each page. Does
> anyone know if it would be possible to include an Apache directive in an
> htaccess file so that these functions would automatically get called for a
> given folder of PHP files.
>
> If not, wouldn't it be pretty easy to write an apache mod to do this? I've
> never written one, but would consider it if the concept is
> plausible/practical.
>
> Muchos Gracius! bpopp - www.bpopp.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>