ID:               22576
 Comment by:       jrpozo at conclase dot net
 Reported By:      mav at alkar dot net
 Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: FreeBSD 4.8-RC
 PHP Version:      4.3.2-dev
 New Comment:

We are seeing the same with PHP4.3.2, Linux RedHat 7.3, Apache 1.3.27
(PHP as a module).

<?php
include("http://www.example.com/test.txt";);
?>

yields this

Warning: main(): stream does not support seeking in
/home/example/public_html/test.php on line 3

and includes the file.


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

[2003-06-03 13:11:15] kelv at kelv dot net

Same problem here. Using stable PHP 4.3.2 on Slackware Linux 7.1,
kernel 2.4.20.

<?php include("http://www.some.url.somewhere";); ?>

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

[2003-05-07 02:48:44] screwdriver at lxnt dot info

Does not work (i.e. spits warning: stream does not support seeking bla
bla bla) for me on FreeBSD 4.8-RELEASE

Tried: 
PHP-4.3.2RC2 
php4-STABLE-200305070730

Both spit out warnings like

Warning: main(): stream does not support seeking in
/home/www/htdocs/English/vacancy/job.php on line 2

line 2 being 
include("http://blablalbla ...");

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

[2003-04-06 06:58:05] [EMAIL PROTECTED]

Works fine with 4.3.2-RC.


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

[2003-03-31 16:01:33] [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 using latest stable snapshot.

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

[2003-03-22 12:30:48] dave at socrates dot thinkhost dot com

I am having the same problem, my O/S is FreeBSD 4.8-RC as well, and the
PHP versions I am using is 4.3.1. I am running 4.3.2-RC1 on my own box,
same problem seems to exist there:

I setup some example scripts to show what is happening, they are
below:

[file.inc]
<?php
  echo "Hello World!";
?>

[test.php]
<?php
  include("http://pub.thinkhost.com/file.inc";);
?>

When I call test.php, I get this:

Warning: main() [function.main]: stream does not support seeking in
http://pub.thinkhost.com/file.inc on line 0

?php echo "Hello World!\n"; ?> 

An error message, and it appears that the first byte of the response
from the web server to fetch file.inv has been nibbled off. Any idea
why?

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

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/22576

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

Reply via email to