Re: search script to google ?

From: Date: Thu, 28 Apr 2005 16:37:18 +0000
Subject: Re: search script to google ?
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-28036@lists.php.net to get a copy of this message
The entire php.net site is available to the world at: http://cvs.php.net/phpweb/ urlencode() is most likely what you want. For future questions, please ask php-general@lists.php.net Regards, Philip On Thu, 28 Apr 2005, Webmaster wrote: > Hi -- > > I was wondering if you could share the string manipulation code you are > using for the site search on PHP.net that uses google. > > The code I am looking for is [I believe] what you are doing for the > "search for in the function list whole site online documentation [en] > bug database general mailing list developer mailing list documentation > mailing list". I would like to do something similar on my site where I > take a search query, clean up the keywords [spaces]& validate for bad > characters. Then add "+"s between the keyword(s) so that i can redirect > to google like so: > > http://www.google.com/search?q=replace+space+plus+site:www.php.net&l=en > > Thanks for your time. > > Best regards, > Geoff Gill > Senior Web Administrator > Panasonic Mobile Communications > Development Corporation of U.S.A. > 1225 Northbrook Parkway, Suite 2-352 > Suwanee, Georgia 30024 > ------------------------------------------- > + Phone: 770-338-6176 > + Cell: 678-907-4684 > + www.panasonic-wireless.com > <BLOCKED::blocked::http://www.panasonic-wireless.com/> > > --Appended by Panasonic Mobile Communications > Development Corporation of U.S.A.-----This e-mail > and any attachments may contain information that is > confidential, proprietary, privileged or otherwise > protected by law. The information is solely intended > for the named addressee (or a person responsible for > delivering it to the addressee). If you are not the > intended recipient of this message, you are not > authorized to read, print, retain, copy or > disseminate this message or any part of it. If you > have received this e-mail in error, please notify > the sender immediately by return e-mail and delete > it from your computer. >

« previous php.mirrors (#28036) next »