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?

Reply via email to