Voting

The Note You're Voting On

Anonymous
20 years ago
If the 2GB limit is driving you crazy, you can use this complete hack. use in place of filesize()

function file_size($file) {
$size = filesize($file);
if ( $size == 0)
$size = exec("ls -l $file | awk '{print $5}'");
return $size;
}

<< Back to user notes page

To Top