I am getting at >2 GB file upload negative number at $_FILES["file"]["size"].
However file uploads fine and filesize() also returns correct size. But how to solve $_FILES to return correct value?
I have read about the issues at some old versions of php, they also had an error at returning negative number at filesize(), but this seems fine now. Did they just forget to fix $_FILES? Dont you know if its fixed on php 5.5.0 ?
PHP: 5.4.16 OS: Debian Squeeze 6.0.7 x64 Webserver: Nginx 1.2.7
sprintf('%u', $_FILES['file']['size'])
give?