Remember me - Lost password?
Grizzly : about 360 days ago
ancora #php (spetta che gonfio un paio di palloncini, sffffff sfffff, ecco: E CHE DUE PALLONCINI! )

Come risolvere senza trecento righe di codice il problema del filesize() quando la dimensione è superiore a 2Gb?
from Siracusa in php - 2 replies - reply meme
m3c__ : about 360 days ago
...aiuta?

Note: Because PHP's integer type is signed and many platforms use 32bit integers, filesize() may return unexpected results for files which are larger than 2GB. For files between 2GB and 4GB in size this can usually be overcome by using sprintf("%u", filesize($file)).


datti una letta ai vari commenti che ce ne sono parecchi che ne parlano

http://it.php.net/manual/en/fu...
from nato a Locarno - vivo a Pantelleria - detail
Grizzly : about 360 days ago
no. Il problema è più complesso (sto leggendo i commenti e provando a fare qualcosa di implementato).
Il punto è che non mi interessa elencare 8374947329473298743297 bytes, bensì poter fare "xyz kb/mb/..."
from Siracusa - detail
New to meemi?
Join now to quickly and easily way

Problem? Rigenerate new code
By clicking the button, you agree all terms of service