ID: 24053 Comment by: rgraham at star-fleet dot org Reported By: jphey at netdoor dot com Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux 2.4.20 PHP Version: 4.3.2 New Comment:
Running 4.3.4 with Zend installed same issue, seems this states it's listed at 4.3.2, i thought i'd bring it up. Even if it is a Zend Issue with Php doesn't it still fall into PHP's bug list? Seems it wasn't there before and now it is? The @include works because @ = supress the error messeges but it's annoying. Previous Comments: ------------------------------------------------------------------------ [2004-01-25 12:15:55] webmaster at nowproduction dot com I had the same error "Warning: main(): stream does not support seeking...". You can include remote files with adding an '@'. This code should work: <?php @include('http://remoteurl.com/somefile.html'); ?> ------------------------------------------------------------------------ [2004-01-17 18:20:22] [EMAIL PROTECTED] Not PHP but Zend Optimizer bug -> bogus. ------------------------------------------------------------------------ [2004-01-17 05:43:57] [EMAIL PROTECTED] If it only happens when you have Zend Optimizer loaded, it's a Zend Optimizer bug. URL includes under windows are handled slightly differently internally (due to flex/ bison issues when working on sockets), which would explain why you don't have the problem there. ------------------------------------------------------------------------ [2004-01-17 03:26:54] choinet at rocketmail dot com The other hosts that worked fine did not have the Zend Optimizer, just to clarify. ------------------------------------------------------------------------ [2004-01-16 04:15:51] choinet at rocketmail dot com To the two comments asking about using variables defined in the remote file, one must realize that the external file is parsed and the html output is only returned for inclusion. Also, the above comment does not directly deal with external url inclusions generating a warning, unless Zend Optimizer causes the same warning as such. I am experiencing the same problem on a PHP 4.3.4/Linux/Apache 1.3.29 server. The odd thing is that this problem does not occur on my Windows testbed or three other Linux/PHP 4.3.4 hosts. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/24053 -- Edit this bug report at http://bugs.php.net/?id=24053&edit=1