php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57491 http_send_file throwing warning about headers
Submitted: 2007-01-24 12:51 UTC Modified: 2007-02-15 09:38 UTC
From: aschultz at photobucket dot com Assigned: mike (profile)
Status: No Feedback Package: pecl_http (PECL)
PHP Version: 5.2.0 RC4 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aschultz at photobucket dot com
New email:
PHP Version: OS:

 

 [2007-01-24 12:51 UTC] aschultz at photobucket dot com
Description:
------------
I'm getting a warning about headers already being sent when I use http_send_file.







Reproduce code:
---------------
<?
http_send_file("/apache/htdocs/data180/73/2cqz5tc_th");
?>

Expected result:
----------------
No warning should be thrown.

Actual result:
--------------
[Wed Jan 24 10:46:37 2007] [error] [client 10.100.1.68] PHP Warning:  Cannot modify header information - headers already sent in Unknown on line 0
[Wed Jan 24 10:46:37 2007] [error] [client 10.100.1.68] PHP Warning:  Cannot modify header information - headers already sent in Unknown on line 0


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-28 12:08 UTC] mike@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PECL.



 [2007-02-15 09:38 UTC] mike@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC