|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-07-14 10:42 UTC] alex dot pagnoni at solarix dot it
[2004-07-14 12:52 UTC] nospam0 at malkusch dot de
[2004-07-14 12:57 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 20:00:01 2025 UTC |
Description: ------------ So a dump of $_SERVER reveals that after a <? header( 'WWW-Authenticate: Basic realm="WG Content-Management"' ); ?> that $_SERVER['PHP_AUTH_PW'] is set but not $_SERVER['PHP_AUTH_USER'] Any ideas? Reproduce code: --------------- if (isset( $_SERVER['PHP_AUTH_USER'] ) && isset($_SERVER['PHP_AUTH_PW'])) { // code } // always returns false regardless of what is entered Expected result: ---------------- should return true if the "Authentication Box" is filled in