Hi,
I want to add a line of code to the top of every *.php page. I'm trying to write a script to do this but am having trouble because the files are not all in the same directory.
For example:
/users/directory1/index.php
/users/directory1/subdirec/index2.php
/users/directory2/index.php
/users/directory2/subdirec/index.php
Are there any existing scripts to do this with and if not could someone get me started in the right direction?
Thanks in advance,
Tim
I want to add a line of code to the top of every *.php page. I'm trying to write a script to do this but am having trouble because the files are not all in the same directory.
For example:
/users/directory1/index.php
/users/directory1/subdirec/index2.php
/users/directory2/index.php
/users/directory2/subdirec/index.php
Are there any existing scripts to do this with and if not could someone get me started in the right direction?
Thanks in advance,
Tim
Comment