NYCPHP Meetup

NYPHP.org

[nycphp-talk] Finding instances of include file

Jon Baer jonbaer at jonbaer.com
Thu Jul 26 13:55:23 EDT 2007


Just fgrep for the filename ...

fgrep -Rn "file.php" /path/to/docroot

- Jon

On Jul 26, 2007, at 1:41 PM, Aaron Fischer wrote:

> I have an include file that I do not want to use anymore.  I want  
> to go through all the files on my site and find every instance of  
> the code that calls that include file.
>
> Any suggestions on how to do that?
>
> Thanks,
>
> -Aaron
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the talk mailing list