Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find Ur Keywords On Google...
#1
Code:
<?php
$referer= $_SERVER['HTTP_REFERER'];



//find the search query from google that brought them here

$qref= strpos($referer,’google’);



if($qref!=”){

$qstart = strpos($referer,’q=’);

$qend = strpos($referer,’&’,$qstart);

$qtext= substr($referer,$qstart+2,$qend-$qstart-2);

$qtext= str_replace(‘+’,’ ‘,$qtext);

}

echo $qtext

?>


Notes:if someone reaches your site via google it will show the keyword that the user has typed in google
Reply
#2
Seems pretty nifty but I don't know....
500 posts Big Grin
[Image: QRCjW2pNdRK00.gif]
#Korra2018
Reply
#3
Seems quite good, but can you provide a bit more information on what this does.
Reply
#4
Its Refer The user using the search string..
Reply
#5
Thanks a lot for the share.
I will give it a try.
[Image: 3dtextven0mhf.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  what is the proximity of keywords? jackluter 0 789 10-09-2018, 03:41 AM
Last Post: jackluter

Forum Jump:


Users browsing this thread: 1 Guest(s)