#24411 [Opn->Fbk]: 2 Gb filesize limit

From: Date: Mon, 30 Jun 2003 17:06:15 +0000
Subject: #24411 [Opn->Fbk]: 2 Gb filesize limit
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42881@lists.php.net to get a copy of this message
ID: 24411 Updated by: derick@php.net Reported By: domisse at iap dot fr -Status: Open +Status: Feedback Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.3.2 New Comment: If they are smaller than 4GB you can do this: printf("%u", filesize("filename")); Everything larger would be a problem, as the return value from filesize is an integer. Previous Comments: ------------------------------------------------------------------------ [2003-06-30 12:04:55] domisse at iap dot fr I have to manage astronomical images which are rather big ! I would like to get filesize to display basic data on them via a browser. ------------------------------------------------------------------------ [2003-06-30 11:59:40] derick@php.net Most likely not soon... internally PHP uses a signed integer for string lengths and other things. What exactly do you want to do with this? ------------------------------------------------------------------------ [2003-06-30 11:12:52] domisse at iap dot fr Description: ------------ Is there any hope to see a large file support in php ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24411&edit=1

« previous php.bugs (#42881) next »