php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4484 required files with <? ?> delimiters prints a blank line to browser
Submitted: 2000-05-17 20:38 UTC Modified: 2000-05-30 20:32 UTC
From: sli at mailsurf dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Release Candidate 2 OS: FreeBSD 3.4 RELEASE
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sli at mailsurf dot com
New email:
PHP Version: OS:

 

 [2000-05-17 20:38 UTC] sli at mailsurf dot com
When requiring a file which starts with <?php and ends 
with ?> the scripting engine produces a blank line which 
causes an error as soon as you try to output a header after
requiring the file. 
If you use the delimiters <SCRIPT LANGUAGE="php"> and
</SCRIPT> no blank line and no header-related error occurs.

The problem occurs even when the required file only
contains the delimiters.

COnfiguration line:

./configure' '--with-apxs=/usr/local/sbin/apxs' '--with-imap' '--with-zlib' '--with-wddx' '--enable-trans-sid' '--disable-debug'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-30 20:32 UTC] stas at cvs dot php dot net
Failed to reproduce this. Seems that you just have extra whitespace somewhere.
If this is not the case, please provide short example files.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 19:01:26 2024 UTC