external file size, the bad way
| From: | waldschrott | Date: | Wed, 26 Jul 2000 11:49:14 +0000 |
| Subject: | external file size, the bad way | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26270@lists.php.net to get a copy of this message | ||
I´ve found a solution. A crappy one....
Would be nice if someone had a better one...
while (!feof($fp)) { fread($fp,1); $i++; }
echo $i-1;
regards
--
o----------0-¬---------O-·---¬----o---®-----o o O ° .
| http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ °
·
0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ °
o © ° . ·
| psychedelic experience | gott@kiffen.de | O ° o °
o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·