NYCPHP Meetup

NYPHP.org

[nycphp-talk] Search function

Joseph Crawford codebowl at gmail.com
Fri Sep 19 17:51:30 EDT 2008


If you have SSH access you could use grep, if not write a php script  
that will exec() the grep command.  This is providing the hosts  
security allows for exec()

On Sep 19, 2008, at 5:49 PM, (Margaret) Michele Waldman wrote:

> Does anyone know of a function or code I could use to quickly search  
> my site for a document?
>
> I was thinking I could write a php function to open all of the files  
> and search for a specific string.
>
> But, I’m guessing it’s already been done with a better implementation.
>
> Thanks,
>
> Michele
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080919/8eff00a8/attachment.html>


More information about the talk mailing list