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


Messages In This Thread
Find Ur Keywords On Google... - by hostwitter - 03-04-2012, 12:59 AM
RE: Find Ur Keywords On Google... - by D3xus - 03-04-2012, 03:07 PM
RE: Find Ur Keywords On Google... - by BreShiE - 03-04-2012, 05:51 PM
RE: Find Ur Keywords On Google... - by hostwitter - 03-05-2012, 11:02 AM
RE: Find Ur Keywords On Google... - by ven0m - 03-05-2012, 01:33 PM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)