PHP 4.0 Bug #10134 Updated: Using Zend Optimiser: including by URL fails
| From: | sniper@php.net | Date: | Tue, 03 Apr 2001 13:18:14 +0000 |
| Subject: | PHP 4.0 Bug #10134 Updated: Using Zend Optimiser: including by URL fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50686@lists.php.net to get a copy of this message | ||
ID: 10134
Updated by: sniper
Reported By: bobby.jack@wiley.co.uk
Old-Status: Open
Status: Bogus
Bug Type: Reproduceable crash
Assigned To:
Comments:
Report these bugs to optimizer-bugs@zend.com with info found
on page:
http://www.zend.com/store/products/optimizer-troubleshooting.php
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-04-03 07:29:13] bobby.jack@wiley.co.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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10134&edit=2