note 85841 added to class.dir
| From: | cranwell at yahoo dot com | Date: | Sat, 20 Sep 2008 03:29:44 +0000 |
| Subject: | note 85841 added to class.dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144566@lists.php.net to get a copy of this message | ||
I wanted to know if you have a function to replace (or add) text to the beginning of all files (with
certain extension) including sub-directories?
In other words, write something to every file this level and below.
reason...
I want to add javascript header code (also a footer) to a lot of php files. Hmmm... guess I need to
write something else (footer) to end of file also?
----
Server IP: 209.41.74.194
Probable Submitter: 208.85.12.252
----
Manual Page -- http://www.php.net/manual/en/class.dir.php
Edit -- https://master.php.net/note/edit/85841
Del: integrated -- https://master.php.net/note/delete/85841/integrated
Del: useless -- https://master.php.net/note/delete/85841/useless
Del: bad code -- https://master.php.net/note/delete/85841/bad+code
Del: spam -- https://master.php.net/note/delete/85841/spam
Del: non-english -- https://master.php.net/note/delete/85841/non-english
Del: in docs -- https://master.php.net/note/delete/85841/in+docs
Del: other reasons-- https://master.php.net/note/delete/85841
Reject -- https://master.php.net/note/reject/85841
Search -- https://master.php.net/manage/user-notes.php