Пример #1
0
<?php

ini_set('max_execution_time', 180);
include '../src/class.seostats.php';
try {
    $url = new SEOstats($_GET['url']);
    $url->print_array('All_Totals');
} catch (SEOstatsException $e) {
    /**
     * Error handling (print it, log it, leave it.. whatever you want.)
     */
    die($e->getMessage());
}
Пример #2
0
<?php

ini_set('max_execution_time', 180);
include '../src/class.seostats.php';
try {
    $url = new SEOstats($_GET['url']);
    $url->print_array('Alexa_Visits_By_Country');
} catch (SEOstatsException $e) {
    /**
     * Error handling (print it, log it, leave it.. whatever you want.)
     */
    die($e->getMessage());
}
Пример #3
0
<?php

ini_set('max_execution_time', 180);
include '../src/class.seostats.php';
try {
    $url = new SEOstats($_GET['url']);
    $url->print_array('Google', 'json');
} catch (SEOstatsException $e) {
    /**
     * Error handling (print it, log it, leave it.. whatever you want.)
     */
    die($e->getMessage());
}
Пример #4
0
<?php

ini_set('max_execution_time', 180);
include '../src/class.seostats.php';
try {
    $url = new SEOstats($_GET['url']);
    $url->print_array('Bing_Siteindex_Array');
} catch (SEOstatsException $e) {
    /**
     * Error handling (print it, log it, leave it.. whatever you want.)
     */
    die($e->getMessage());
}