NYCPHP Meetup

NYPHP.org

[nycphp-talk] Search function

(Margaret) Michele Waldman mmwaldman at optonline.net
Fri Sep 19 18:30:26 EDT 2008


Googles annual pricing for using their function is:

Number of web pages  Search Query Limit (annual)  Pricing (annual)  
Up to 5,000 250,000  $100  
5,001 - 50,000  250,000  $500  
50,001 - 100,000  500,000  $850  
100,001 - 300,000  500,000  $2,250  
> 300,000 > 500,000  Contact sales.

Is everyone in agreement?

I'm guessing I'm not going to cheaply or quickly write something as
sophisticated.

Michele

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Joseph Crawford
Sent: Friday, September 19, 2008 6:24 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Search function

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
> <mmwaldman at optonline.net> 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




More information about the talk mailing list