*/ if (isset($_GET['url']) && isset($_GET['keyword'])) { $gg_url = 'http://www.google.com/search?hl=en&q=' . urlencode($_GET['keyword']) . '&start='; $url = preg_replace('(^http://|/$)','',$_GET['url']); for ($page = 0; $page < 9; $page++) { $handle = fopen($gg_url . $page . 0 ,'r'); $scraped = ''; if ($handle) { while (!feof($handle)) { $buffer = fgets($handle, 4096); $scraped .= $buffer; } fclose($handle); } $results = array(); preg_match_all('/a href="([^"]+)" class=l.+?>.+?<\/a>/',$scraped,$results); foreach ($results[1] as $serp) { $serp = preg_replace('(^http://|/$)','',$serp); if ($serp == $url) { header('Location: ' . $gg_url. $page . '0'); exit; } } } $error_message = 'Not in top 100 search results'; } ?> Where's it rank at Google?
Where's it rank at Google? Not found in top 100 search results


Browser Button Drag this link to your browser toolbar, or right-click it and choose Bookmark This Link: Where's it rank?

This script was created by SEOmoz.org and is available for free download at http://www.seomoz.org/files/scripts/whererank-source.txt

Welcome to MAKE MY SITE WORK

Are you overwhelmed by the internet? Do you know you could be doing more to make your site make money but dont know how? Would you like all the answers? Would you like to join a community with real life sucesses and failures--so you can learn from both?

THIS IS IT!
No posts.
No posts.