|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-03-06 15:30 UTC] mav at alkar dot net
When I write: <?php include "http://www.spooky.dp.ua/test.html"; ?> and that file are not empty I take message: Warning: main() [function.main]: stream does not support seeking in http://www.spooky.dp.ua/test.html on line 0 PHP 4.3.1 compiled with options: ./configure \ --prefix=/usr/local \ --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-memory-limit \ --with-mysql=/usr/local/mysql \ --with-gd=/usr/local \ --enable-trans-sid \ --enable-inline-optimization \ --enable-ftp \ --enable-dbase \ --enable-gd-native-ttf \ --with-ttf \ --with-freetype-dir=/usr/local \ --with-iconv \ --with-ming=/usr/local \ --with-zlib PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 22:00:02 2025 UTC |
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?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 ...");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"); ?>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.