| Current Path : /var/www/iplanru/data/www/www.i-plan.ru/payment/ |
| Current File : /var/www/iplanru/data/www/www.i-plan.ru/payment/index.php |
<?php
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="My Realm"');
header ("HTTP/1.0 401 Unauthorized");
exit();
} else {
if ($_SERVER['PHP_AUTH_USER']=="user" and $_SERVER['PHP_AUTH_PW']=="123"){
header("http/1.0 200 Ok");
echo "SUCCESS";
exit();
}
}
?>