|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #50339 unreliable performance of authentication thru headers
Submitted: 2009-11-30 20:16 UTC Modified: 2009-12-08 01:00 UTC
From: premanand_prabhu at rediffmail dot com Assigned:
Status: No Feedback Package: Documentation problem
PHP Version: 5.2.11 OS: Windows/apache
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: premanand_prabhu at rediffmail dot com
New email:
PHP Version: OS:


 [2009-11-30 20:16 UTC] premanand_prabhu at rediffmail dot com
// autho.php
if( (empty($PHP_AUTH_PW)) || (empty($PHP_AUTH_USER)) ||
($PHP_AUTH_USER!='ramesh') ||
header('WWW-Authenticate: Basic realm="my first autho"');
exit(" authentication required ");


// below is the code used to include the aotho.php in the 
//below script 
//{{QUESTION:}} At times the code works fine and 
//asks for username / password before page is  display but not 
//at all times. sometimes it just shows up the page 
//without username / password. Any reasons?? pls guide!!tks  {{QUESTION:}} 


Reproduce code:
From manual page: faq.using


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-30 20:57 UTC]
faq.using doesn't mention this code, where did you find it?

 [2009-12-08 01:00 UTC] doc-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu May 06 11:01:23 2021 UTC