#10134 [Com]: Using Zend Optimiser: including by URL fails
| From: | ticket-show1083 at hotmail dot com | Date: | Tue, 20 Jul 2004 14:59:44 +0000 |
| Subject: | #10134 [Com]: Using Zend Optimiser: including by URL fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62755@lists.php.net to get a copy of this message | ||
ID: 10134
Comment by: ticket-show1083 at hotmail dot com
Reported By: bobby dot jack at wiley dot co dot uk
Status: Bogus
Bug Type: Reproducible Crash
Operating System: sparc-sun-solaris2.6
PHP Version: 4.0.4pl1
New Comment:
<a href=http://orealtimebabesblow.da.ru>show
ticket</a>
Previous Comments:
------------------------------------------------------------------------
[2001-04-03 09:18:14] sniper@php.net
Report these bugs to optimizer-bugs@zend.com with info found
on page:
http://www.zend.com/store/products/optimizer-troubleshooting.php
--Jani
------------------------------------------------------------------------
[2001-04-03 07:29:13] bobby dot jack at wiley dot co dot uk
Zend Optimiser version 1.0.0 is installed.
PHP running on Apache-1.3.19
Including a file with an absolute reference to a URL fails to load the
file completely - only part of the file loads resulting in incomplete
HTML source.
Example:
--
<?php
include "http://www.example.com/foo.php";
?>
--
Example code attempting to be included:
--
<TABLE border="1"><TR><TD>Hello
World</TD></TR></TABLE>
--
Example of PHP output (HTML source) when including this file:
--
TABL
--
As you can see, only a small portion of the file is actually included.
Removing the optimiser from our PHP install solves the problem; the
file is included correctly.
This bug should be very easy to reproduce using the setup described
here.
allow_url_open has been set to 1.
Please advise on either a workaround or when this bug is likely to be
fixed; we are developing an intranet using PHP and this bug is quite an
inconvenience.
Thanks,
- Bobby.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10134&edit=1