Also, if someone searches for html, should I not return all html docs?
What's the rule here? Michele _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of (Margaret) Michele Waldman Sent: Friday, September 19, 2008 6:07 PM To: 'NYPHP Talk' Subject: RE: [nyphp-talk] Search function Would instr get_file_contents be too slow? Michele _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Crawford Sent: Friday, September 19, 2008 5:52 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Search function 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
_______________________________________________ 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
