changed example that html-result fits on the screen (bug #21727)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112659 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Thomas Schoefbeck 2003-01-19 09:46:52 +00:00
parent 395602e89e
commit e6e52a20be

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.30 $ -->
<!-- $Revision: 1.31 $ -->
<chapter id="features.http-auth">
<title>HTTP authentication with PHP</title>
@ -127,7 +127,8 @@
exit;
}
if (!isset($_SERVER['PHP_AUTH_USER']) || ($_POST['SeenBefore'] == 1 && $_POST['OldAuth'] == $_SERVER['PHP_AUTH_USER'])) {
if (!isset($_SERVER['PHP_AUTH_USER']) ||
($_POST['SeenBefore'] == 1 && $_POST['OldAuth'] == $_SERVER['PHP_AUTH_USER'])) {
authenticate();
}
else {