note 52440 rejected from function.filesize by nlopess
| From: | nlopess@php.net | Date: | Sun, 01 May 2005 17:19:22 +0000 |
| Subject: | note 52440 rejected from function.filesize by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-88840@lists.php.net to get a copy of this message | ||
Note Submitter: mpeccin at yahoo dot com dot ar
----
Warning: filesize() [function.filesize]: stat failed for archivo1.txt in
c:\Inetpub\wwwroot\php\directorios.php on line 19
Archivos de programa
this is an error when i put in a code functoin filesize, for example..
<?
$directorio = opendir("c:\\");
$count=0;
$dir="";
while ( $archivo = readdir($directorio) ) {
if ( is_dir($archivo)) {
$dir="<b>Directorio</b><br>";
}
else
{
echo $archivo."<br>";
echo filesize($archivo);
}
}
?>
anybody can helpme ?
thanks