Forum dyskusyjne
Szczepu 99 WDHiGZ
|
|
|
Co powesz na coś takiego:
<?PHP if(!($PHP_AUTH_USER)): Header("WWW-authenticate: basic realm=Restricted Area"); Header("HTTP/1.0 401 Unauthorized"); echo ""; exit; else: if (($PHP_AUTH_USER)!=("login")): echo "<meta http-equiv=\"refresh\"content=\"0; url=blad.html\">"; exit; endif; if (($PHP_AUTH_PW)!=("password")): echo "<meta http-equiv=\"refresh\"content=\"0; url=blad.html\">"; exit; endif; endif; ?> |
| Napisz odpowiedź | Spis wiadomości |