Koozali.org: home of the SME Server

Apply code to all .php docs

SK

Apply code to all .php docs
« on: August 21, 2002, 10:48:40 PM »
I have some php code that I want inside all .php files om my server. Is there an easy way to just program that everytime a .php file is to be executed on the server my code is inserted in the top?

Dan Brown

Re: Apply code to all .php docs
« Reply #1 on: August 21, 2002, 11:05:58 PM »
Take a look at the PHP docs for auto_prepend_file.