#22576 [Fbk->Opn]: include() or require() file via HTTP wrapper
| From: | mav at alkar dot net | Date: | Thu, 06 Mar 2003 21:44:25 +0000 |
| Subject: | #22576 [Fbk->Opn]: include() or require() file via HTTP wrapper | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34995@lists.php.net to get a copy of this message | ||
ID: 22576
User updated by: mav at alkar dot net
Reported By: mav at alkar dot net
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: FreeBSD 4.8-RC
PHP Version: 4.3.1
New Comment:
I do it. Now I have another warning message:
Warning: main() [function.main]: stream does not support seeking in
/www/clients/commerce/darknes/www.spooky.dp.ua/pages/news.html on line
6
news.html is a PHP script here that have include() on a line 6.
Previous Comments:
------------------------------------------------------------------------
[2003-03-06 15:34:02] wez@php.net
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
------------------------------------------------------------------------
[2003-03-06 15:30:51] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22576&edit=1