note 102140 deleted from function.filesize by danbrown

From: Date: Fri, 28 Jan 2011 22:13:00 +0000
Subject: note 102140 deleted from function.filesize by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-176484@lists.php.net to get a copy of this message
Note Submitter: o_paladin_o at yahoo dot com ---- kudos to the guy below: md2perpe at gmail dot com 17-Jul-2007 09:29 Another way to get a filesize > 2GB on Linux: <?php $size = trim(stat -c%s $file_path); ?> I don't know PHP and am [re]learning unix. This guy helped alot!!! I used the above to fix the size error in FileThingie [http://www.solitude.dk/filethingie] I am using PHP5 [will they -ever- fix filesize()??] & Ubuntu ymmv, esp. on windows. you might consider playing with system() or passthru(). -pal

« previous php.notes (#176484) next »