I have to find live.php and its path within a directory suppose module and its all sub directories such as user, blog and etc. Search also if sub directory blog contains further sub directories.
I am using a long code to do this job. Any other better and short method.
I think you should look at PHP
globhttp://php.net/manual/en/function.glob.phpExample : Search
dir/moduleand sub directory forlive.phpor anything that ends withlive.phpFunction used : http://www.php.net/manual/en/function.glob.php#106595