Google SERPS For " .$url. ""; //start to run through each of the keywords foreach($keywords as $keyword) { //set our counter at zero, so we can work out what the ranking of the page $count = 0; //make a URL that we can query Google with $search = "http://www.google.com/search?q=" .urlencode($keyword). "&num=100"; //now go get that page $google = file_get_contents($search); //funky regular expression stuff to find our URL in the results $description= ('/