ID:               32801
 Updated by:       [EMAIL PROTECTED]
 Reported By:      xmlich02 at stud dot fit dot vutbr dot cz
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: MacOS / Safari 125.12
 PHP Version:      5.0.3
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2005-04-22 12:39:40] xmlich02 at stud dot fit dot vutbr dot cz

Description:
------------
Http autentication doesnt works on Safari / MacOS.

No authentication dialog is opened. (using code from 
documentation)

Reproduce code:
---------------
<?php
  if (!isset($_SERVER['PHP_AUTH_USER'])) {
   header('WWW-Authenticate: Basic realm="My Realm"');
   header('HTTP/1.0 401 Unauthorized');
   echo 'Text to send if user hits Cancel button';
   exit;
  } else {
   echo "<p>Hello {$_SERVER['PHP_AUTH_USER']}.</p>";
   echo "<p>You entered {$_SERVER['PHP_AUTH_PW']} as your
password.</p>";
  }
?>

Expected result:
----------------
authentication dialog,

<p>Hello user123</p><p>Yoe entered test as your 
password.</p>

Actual result:
--------------
no authentication dialog.

Text to send if user hits Cancel button


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32801&edit=1

Reply via email to