make recursive function for this. or use some external comment to find your files. for example : find is a good choice find -type f / -exec grep ohmygoodness {} \;
will look in every file for "ohmygoodness" Andrey ----- Original Message ----- From: "andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 6:28 PM Subject: [PHP] is it possible to scann subdirectories? > Hi there, > > I have to change several filenames in lots of subdirs. > > The script for changing filenames already works. How could I extend this to > include all subdirs? > > thanx, Andy > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php