Traceroute

Traceroute result

";	

system("traceroute " . preg_replace ("/[^A-Za-z0-9.]/","",$_POST['host']));

echo "

“;

}

else {

?>

Enter IP or Host

“>

Flushing DNS cache

DNS cache is something that your computer uses to quickly look up the IP address of for example a web site. There are some situations that will require your to clear your DNS cache in order to get the latest information.

To flush DNS cache in Microsoft Windows (98, 2000, XP, Vista, 7):

  • Go to Start -> Run -> type in cmd
  • from command prompt, type ipconfig /flushdns
  • that will reset your DNS cache

To flush DNS cache on Mac OSX (Leopard):

  • type lookupd -flushcache in the terminal window
  • that will reset your DNS cache

To flush DNS cache on Mac OSX:

  • type dscacheutil -flushcache in your terminal window
  • that will reset your DNS cache

To flush DNS cache on a Linux box you need to restart the nscd service/daemon:

  • type /etc/rc.d/init.d/nscd restart the terminal window
  • that will reset your DNS cache
We have experienced Linux and Windows specialists on-site, so you can always contact our hosting support team, if you have any issues accessing your website.

Very Strong Password Generator

For your convenience we generated 2 groups of 5 different passwords each. Strong and medium groups. Please note that these passwords are secure and generated only for you (for this particular session) and every time you refresh the page the passwords below will change as they generated automatically.

Strong passwords

Hard to remember, but easy to write down.

    <?
    $count=0;
    $limit = "5";
    while($limit–) {
    $count++;
    $pass = substr(crypt(date(rand())),3,18);
    echo "

  1. $pass
  2. “;
    }
    ?>

Semi-strong passwords

Easy to remember.

    <?
    $count=0;
    $limit = "5";
    while($limit–) {
    $count++;
    $pass = substr(md5(crypt(date(rand()))),3,9);
    echo "

  1. $pass
  2. “;
    }
    ?>

If you wish to see new passwords, just press the “Generate passwords again” button below.

W3C online validator

“red”,”Valid” => “#59AD34”);

if (!empty($_POST['urls'])) {
$host = get_headers(“http://validator.w3.org/check?uri=”. url_encode($_POST['urls']));
$status = trim(str_replace(“X-W3C-Validator-Status:”,””,$host['5']));

echo “

Validation results

HTML code for $_POST[urls]$status

“;

}

?>

Validate your HTML pages

Please enter one URL per line

<textarea name=”urls” style=”width:285px”></textarea>

FTP login details checker

function ifExistValueShowIt($valuename) {

if (!empty($_REQUEST[$valuename]))
echo $_REQUEST[$valuename];

}

// Например из строки host : http://domen.com извлечёт domen.com
function clean_cred($cred) {

$cred = str_replace(‘http://’, ”, $cred);
$cred = preg_replace(‘//$/si’, ”, $cred);
$cred = preg_replace(‘/^(.+?:)/si’, ”, $cred);
$cred = trim($cred);

return($cred);

}

// Проверка
function CheckFTP() {

$elements = explode(”
“, $_POST[‘elements’]);

$elements = array_map(‘trim’, $elements);

$creds = array();

for ($i=0; $i<count($elements); $i++) {

// Пропускаем пустые строки
if (empty($elements[$i])) {
continue;
}

// Чистим строки от легенд
$creds[]= clean_cred($elements[$i]);
}

if (count($creds) != 3) {

return(‘Неправильно введены данные!’);
}

// установка соединения
$conn_id = @ftp_connect($creds[‘0’]);

if ($conn_id) {

// попытка входа
if (@ftp_login($conn_id, $creds[‘1’], $creds[‘2’])) {
return “Success, connected to $creds[0] as $creds[1]@$creds[2]
“;
} else {
return “Wrong username $creds[1] or password $creds[2]
“;
}

// Закрытие соединения
ftp_close($conn_id);

}

else return(“$creds[0] is refused connection”);

}

?>

Example 1:
2by2host.com
login12
password13

Example 2:
host: https://2by2host.com/
log in :login12

password13

<textarea name=”elements” style=”width: 400px;” rows=”7″><? ifExistValueShowIt(“elements”); ?></textarea>

<? if ($_POST) echo CheckFTP(); ?>

Server status and known issues

Currently one of our MySQL servers is undergoing a file system check.
It will be back online shortly.
Updated: :00

<!–

Everything is alright with our servers. Cool!

–>