|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-02 02:20 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 14:00:01 2025 UTC |
The example code in chapter 17 HTTP Authentication with PHP is: echo "<p>You entered {$_SERVER['$PHP_AUTH_PW']} as your password.</p>"; This doesn't work as the key should be 'PHP_AUTH_PW' and not $PHP_AUTH_PW The correct code is: echo "<p>You entered {$_SERVER['PHP_AUTH_PW']} as your password.</p>";