Waarom werkt onderstaand loginscriptje niet? Ik krijg of helemaal geen loginformuliertje of een DNS error (ja, vaag maar waar). Wie helpt?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
| <?
include "admin_v.php";
if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == "Pipo" ) && ( $PHP_AUTH_PW == "0" )) ) {
header("WWW-Authenticate: Basic entrer=\"Form2txt Admin\"");
header("HTTP/1.0 401 Unauthorized");
?>
<HTML><HEAD>
<style type="text/css">
<!--
BODY {background: <?=$mainback?>; font-family: verdana; font-size: 8pt; color: <?=$text?>}
td {background: #cccccc; color: <?=$text?>; font-family: verdana; font-size: 8pt}
table {border-width=3}
-->
</style><title>Authorization Required</title><body>
<center><table width=500 border=1 bordercolor=#B5B5B5 cellpadding=0 cellspacing=0>
<td style="background: #B5B5B5"><font size=4><B>Authorization Required</B></font><tr>
<td><BR><table border=0><td>
This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.<tr>
<td align=right><A href="javascript:void(history.back(1));">Terug</a>
<BR><BR><hr color=#B5B5B5>
<ADDRESS><? echo "$SERVER_SOFTWARE at $SERVER_ADDR Port $SERVER_PORT";?></ADDRESS>
</table>
</table>
</body></html>
<?
exit;
}
?>
<html>
<head>
<title>GoshawK Shop v1.0 Admin</title>
</head>
<body>
boe
</body>
</html> |