Re: [phplib] Securing non-PHP pages. From: Bart-Jan Vrielink (bartjan <email protected>)
Date: 07/26/00

On Wed, 26 Jul 2000, Luke Sturgess wrote:

> I have a large website which I am trying to secure using PHPLib. My problem
> is that the site is half pure HTML pages and half PHP pages. I don't want to
> have to turn the HTML pages into PHP by including the prepend file in all of
> them. Is there any way around this?

Use something like this in your .htaccess:
php3_auto_prepend_file /path/to/prepend.php3
php3_auto_append_file /path/to/append.php3

With prepend.php3 and append.php3 containing the necessary page_open and
page_close commands. You should also enable php to parse .html files.

-- 
Tot ziens,

Bart-Jan

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>