John,

From my understanding this was not something she wanted for site users, I thought she was searching for a string.

If you are going to deploy this to users then you don't want to use either method we spoke about and use John's suggestion and use Google Site Search

On Sep 19, 2008, at 6:17 PM, John Campbell wrote:

On Fri, Sep 19, 2008 at 6:07 PM, (Margaret) Michele Waldman
<[EMAIL PROTECTED]> wrote:
Would instr get_file_contents be too slow?

This is a really bad idea in general... Is there a reason Google's
site search won't work?

If you do something like exec(grep), make sure you know how to escape
everything properly.  It is possible someone could wreck the site with
a specially crafted query.

-John C.
_______________________________________________
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

Reply via email to