> $referer =
> "http://search.yahoo.com/search?p=pianist+web+sites+design&ei=UTF-8&fr=fp-ta
> b-web-t&cop=mss&tab=";
> if (strpos($referer, "q=") != FALSE) { $query = "q=";} else if
> (strpos($referer, "p=") != FALSE) { $query = "p=";}
> $searcharray = explode("&", substr($referer, (strpos($refere
I think I managed to do it myself-
http://search.yahoo.com/search?p=pianist+web+sites+design&ei=UTF-8&fr=fp-ta
b-web-t&cop=mss&tab=";
if (strpos($referer, "q=") != FALSE) { $query = "q=";} else if
(strpos($referer, "p=") != FALSE) { $query = "p=";}
$searcharray = explode("&", substr($referer, (st
Thanks- didn't realise that $_SERVER['QUERY_STRING'] was the query string
for the actual page. In that case what is the easiest way to extract the
search string from the referer web site? I would like to add this string to
the MYSQL database.
-Original Message-
From: Aidan Lister [mail
3 matches
Mail list logo