ID:               30446
 User updated by:  per at computer dot org
 Reported By:      per at computer dot org
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache related
 Operating System: linux 2.4.26
 PHP Version:      4.3.9
 New Comment:

I'm currently using 2.0.52, but I believe I reproduced this with 2.0.50
as well. The problem does not occur in php 4.3.8 with either apache
version.


Previous Comments:
------------------------------------------------------------------------

[2004-12-02 03:30:40] [EMAIL PROTECTED]

What Apache version are you using?


------------------------------------------------------------------------

[2004-11-24 13:36:13] per at computer dot org

Also present in 4.3.10RC1

------------------------------------------------------------------------

[2004-10-25 12:13:19] michele at borioli dot net

Got the same error on Win 2k platform.
OS: Windows 2000 SP3 (5.00.2195)
PHP: 5.0.1
APACHE: 2.0.1

------------------------------------------------------------------------

[2004-10-16 00:46:05] kulphp at akaukul dot co dot uk

This I have found this only happens when using multiviews
(content-negotiation), and the same(both examples below) as a .shtml
works correctly.

<?php virtual("/inc/_menu.html.en");?>  works ok and places the content
in the correct place (NOT using mutliviews)

<?php virtual("/inc/_menu");?> places the content at the very beginning
of the output, and in front(very top of results) of where it was called
(using mutliviews).

------------------------------------------------------------------------

[2004-10-15 12:25:38] per at computer dot org

Description:
------------
virtual() seems to put included code/text in the wrong place.  I'm
guessing this is possibly related to bug#30445. 

Reproduce code:
---------------
<html>
<head><title></title></head
<body>
<p>Line0</p1>
<?php
        virtual("i1");
?>
<p>Line2</p>
</body>

----
i1.html:
<p>Line1</p>


Expected result:
----------------
<html>
<head><title></title></head
><body>
<p>Line0</p>
<p>Line1</p>
<p>Line2</p>
</body>

Actual result:
--------------
<p>Line1</p>
<html>
<head><title></title></head
><body>
<p>Line0</p>
<p>Line2</p>
</body>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30446&edit=1

Reply via email to