>            $cmdstr = "grep -i $searchstr *";

Add a "-r" in there before or after the -i part.

"-r" will have grep search recursively.

Read "man grep" for details.

Warning:  This will impact the performance of grep considerably if your site
is deep/broad...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to