Re: getting the search words from a google query

From: Date: Tue, 18 Aug 2009 15:54:59 +0000
Subject: Re: getting the search words from a google query
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-296932@lists.php.net to get a copy of this message
On Tue, 2009-08-18 at 21:23 +0530, MURTUZA KUTUB Â wrote: > hey, > > i am a beginner at php and i need your help. > > i have a list of urls visited on a particular day in mysql database. > using php i find out all the websites that have a google search. > now i need to strip apart the google query from the entire url. > i think parse function is used for it but i am not sure how it is used etc. > > if possible plz send me a small snippet as an example. > > cheers. > > ------------------------------------------------- > Bits-Pilani Goa Campus (http://www.bits-goa.ac.in) > > Have you looked at the URL strings themselves? You can see that with a Google query, the search words appear as part of the q= part of the string. Thanks, Ash http://www.ashleysheridan.co.uk

« previous php.general (#296932) next »