RE: [PHP] Auto Prepend/Append

From: Date: Tue, 06 Mar 2001 18:34:48 +0000
Subject: RE: [PHP] Auto Prepend/Append
Groups: php.general 
Request: Send a blank email to php-general+get-42790@lists.php.net to get a copy of this message
Chris, Try putting <Files "*.html"> php_value auto_prepend_file "foo.php" </Files> in your httpd.conf file. Once you put this in the conf file for Apache, restart Apache and see if the changes take place. That should do what you want it to. Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify the process for you. KnowledgeStorm - Your IT Search Starts Here > > >Is it possible to use the auto prepend/append directives to > > >prepend/append particular files only to files with a particular > > >extension? > > I don't believe you can do this directly with PHP but you > > probably can with > > Apache: > > <Files *.html> > > php_value prepend_file "foo.php" > > </Files> > > Where do you put this? > We've tried everywhere, but's not picking up. Are you doing this? > And it's working?

« previous php.general (#42790) next »