Why fstat(); not working?
| From: | Nikolajus Krauklis | Date: | Wed, 29 Nov 2000 18:45:54 +0000 |
| Subject: | Why fstat(); not working? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27848@lists.php.net to get a copy of this message | ||
I'm using php4.0.3pl1
-----------------
<?
$fp = fopen("http://somewhere/somthing","r");
if ($fp) echo "OK"; else echo "No";
$stats=fstat($fp);
for ($x=0;$x<=12;$x++) {
echo $stats[$x]."<br>";
}
fclose($fp);
?>
-----------------------------
First line of output is OK bet the array is empty :/ i haven't no info about
this file :/
Thanks