Hi all,

When I use the $_SERVER to get a query string it doesn't ever seem to return
me anything:

$queryy = $_SERVER['QUERY_STRING'];

In my webstats script, 790 are blank and 2 give the value of "loc=uk" and
"currentID=6" - not very satisfactuary!

Why is this happening?  Could I get the search string from the referer web
site?  It sounds like a bit of a faff, but is this what I have to do?

Say a referer website is
http://www.google.co.uk/search?q=web+design+for+performers&ie=UTF-8&hl=en&me
ta=

is there a good way of getting the query string "web design for performers"
?

for Yahoo it is different:

http://search.yahoo.com/search?p=biography+examples&ei=UTF-8&fr=fp-tab-web-t
&n=20&fl=0&x=wrt

the search string is followed by "p="

I'd like to list the top ten search keywords and the top ten search phrases.

Any ideas?

Thanks!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to