ID: 24053 Comment by: al at hosteurope dot de Reported By: jphey at netdoor dot com Status: No Feedback Bug Type: Scripting Engine problem Operating System: Linux 2.4.20 PHP Version: 4.3.2 New Comment:
The bug still exists in php-4.3.4. If you use include("http://www.example.com/test.php"); you will get a stream doesn't support seeking error. We've investigated the problem and we think that there is only a 2 line if cause missing (compared to the bugfree version 4.3.1) at the beginning of the function _php_stream_seek in the main/streams.c code: 954a955,958 > /* not moving anywhere */ > if ((offset == 0 && whence == SEEK_CUR) || (offset == stream->position && whence == SEEK_SET)) > return 0; > if you insert this if cause the error disappears and all other functions still seem to work fine in our tests. Best regards Andree Lindenblatt Software Development Host Europe GmbH Previous Comments: ------------------------------------------------------------------------ [2003-11-06 15:45:26] info at web-bureau dot com I think this should be opened again - especially as it's not just a case of cluttering up the page - the include only half-works! The file is evaluated, but it's variables don't get back to the calling file. ------------------------------------------------------------------------ [2003-11-06 15:40:56] info at web-bureau dot com Hi, I'm experiencing this on PHP 4.3.3 on Linux. I notice that variables defined in the remote included file are *not* then available in the including file!.. Is there any way round this for remote files? ------------------------------------------------------------------------ [2003-09-22 06:48:49] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-09-16 23:48:12] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Cannot replicate the described problem. ------------------------------------------------------------------------ [2003-07-25 03:49:57] [EMAIL PROTECTED] Apparently there is still a problem. Will investigate this weekend. ------------------------------------------------------------------------ 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