Jon Baer wrote:
Just fgrep for the filename ...

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

- Jon

Jon's would return more references (including comment references and such)
Could also do this - specific to php includes

find -name '*.php' | xargs grep -E "(include|require)(_once)? 'file.php'"


Mark
_______________________________________________
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

Reply via email to