What can I do on the command line to achieve this:
Code:
<? include("file"); ?>
I wan't to insert that into each file called index.php in recursive directories.
So say I have:
domain.com/teens
domain.com/latinas
domain.com/lesbians
And each directory (teens, latinas and lesbians) has a file called index.php in it and I want that include code to be added to the TOP of (prepended to) the file.
Anyone know of some command line code or a bash script that can achive this?