php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #531 Header() not working as expected
Submitted: 1998-07-09 15:32 UTC Modified: 1998-07-10 13:15 UTC
From: jo2y at pitt dot edu Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Final Release OS: Linux 2.0.32
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jo2y at pitt dot edu
New email:
PHP Version: OS:

 

 [1998-07-09 15:32 UTC] jo2y at pitt dot edu
If I have a script that includes any script, then header() does not work. I've tested this with foo.php3 being empty
with the same results. I don't see any mention of this in the documentation and foo.php3 does not do any output.

<?php include("foo.php3");
            Header("WWW-authenticate: basic realm=\"Test\"");
?>



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-10 13:15 UTC] rasmus
This was due to newlines in the included file.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 23:01:32 2024 UTC