Hi Kurt,
not pretty, but what about using the CLI tool ls with an exec() call? Timo Am Dienstag den, 10. September 2002, um 00:07, schrieb Kurt Glazemakers: > > Hi, > > I need the filesize in PHP for very large files, over 2 Gigabyte. The > problem is that the integer returns the size in byte as an integer. If > the integer is too big, it returns an negative value. > > Is it possible to extend the integer to 64 bit ? Or any other solution, > to solve this problem ? > > Example: > > C:\php423\php>php -q c:\devel\filesize.php > int(-834864026) > > Which checks the size of a 3 Gigabyte file. > > Many thanks, > > Kurt > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php