Posted by Eric Layman on 02/02/07 00:25
I have checked this setting in my php.ini
allow_url_fopen = On
It is ON be default.
According to the PHP documentation:
it stated that as of php5, filesize supports the reading of remote html
files:
http://php.net/manual/en/function.filesize.php
But I have tried the following:
echo filesize("http://www.yahoo.com/");
It returned me this error:
Warning: filesize() [function.filesize]: stat failed for..blah blah
Anyone have this same problem?
Yes. Im using PHP5 and php.ini's allow_url_fopen = On (Thanks to J.O. Aho)
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Navigation:
[Reply to this message]
|