Bug #67752 [Opn->Fbk]: get_headers() doesn't take care of header()

From: Date: Sun, 03 Aug 2014 22:07:39 +0000
Subject: Bug #67752 [Opn->Fbk]: get_headers() doesn't take care of header()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186950@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67752&edit=1 ID: 67752 Updated by: requinix@php.net Reported by: tschmieder at online dot de Summary: get_headers() doesn't take care of header() -Status: Open +Status: Feedback Type: Bug Package: Output Control Operating System: Windows, Linux PHP Version: 5.3.28 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. get_headers() works on URLs so it has nothing to do with the current script. If you're saying that you're using header() in some script then get_headers() on the corresponding URL, and you're not getting the headers you tried to set there, then we need repro scripts to see why. Before you do that, check your error log for messages about being unable to send a header because output already started. Previous Comments: ------------------------------------------------------------------------ [2014-08-03 12:43:04] tschmieder at online dot de Description: ------------ get_headers() doesn't regard a change of the headers by header(). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67752&edit=1

« previous php.bugs (#186950) next »