Location: PHPKode > scripts > SEOstats > examples/example2.php
<?php ini_set('max_execution_time', 180);
 
include '../src/class.seostats.php';

try 
{
	$url = new SEOstats($_GET['url']);
	
	$r = $url->Google();
	
	echo '<pre>';
	print_r ( $r );
	echo '</pre>';
} 
catch (SEOstatsException $e) 
{
	/**
	 * Error handling (print it, log it, leave it.. whatever you want.)
	 */
	die($e->getMessage());
}
?>
Return current item: SEOstats