PHP include/url fopen
| From: | choinet | Date: | Thu, 15 Jan 2004 09:34:04 +0000 |
| Subject: | PHP include/url fopen | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-7123@lists.php.net to get a copy of this message | ||
I was helping a user at my ISP support forums. Using
include on an http:// url generates "Warning: main():
stream does not support seeking in
/home/account/public_html/test.php on line 2". This
occurs for both external/same-server http:// urls.
Each of the servers I used run PHP 4.3.4, and I had no
warning on Windows as well as on another Linux setup
(server generating the warning runs Linux).
Searching the warning on google shows the first result
http://www.onaje.com/php/article.php4/43,
which
mentions the problem on 4.3.4. I see two bug reports
dealing with this, #24053 and #26550, not sure if it
has been resolved yet in the snaps from reading the
report (I can't test it out since the ISPs run the
server that generates the warning). I don't know what
would be causing the warning to output (since it may
be assumed that an http:// stream does not support seeking).
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus