RE: [PHP] Problems with filesize() and large files

2002-09-09 Thread Kurt Glazemakers
on [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 12:27 AM To: Kurt Glazemakers; [EMAIL PROTECTED] Subject: Re: [PHP] Problems with filesize() and large files Just figure out what the limits of 32-bit integers are. It might be enough to do something like $num = INT_MAX + abs( INT_MIN

[PHP] Problems with filesize() and large files

2002-09-09 Thread 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 ?