php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28778 space after ?> in an include_once_file prevent dowload
Submitted: 2004-06-14 18:01 UTC Modified: 2004-06-14 18:03 UTC
From: stephane at dipp dot net Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.3.7 OS: FreeBSD 4.9
Private report: No CVE-ID: None
 [2004-06-14 18:01 UTC] stephane at dipp dot net
Description:
------------
I got a php script (class.DownloadScript.inc.php) which download a file from the web site. 

This script use also the function include_once. 

If there is a space after the ?> at the end of the included file (class.IncludedScript.inc.php), I can't download the file from the website  ... ?


I got this error :

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/data/myproject/www/business/inc/class.IncludedScript.inc.php:255) in /usr/local/www/data/myproject/www/core/inc/class.DownloadScript.inc.php on line 492




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-14 18:03 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

This is expected. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 11:01:31 2024 UTC