By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,830 Members | 2,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,830 IT Pros & Developers. It's quick & easy.

Re: How to get filesize when stat() fails

P: n/a

"jimbob" <no****@virgingmedio.comwrote in message
I'm trying to get a byte count on a fat32 system with files up to 4Gb in
but the stat/filesize function fails on large files.

I understand this may be related to the PHP limitation of signed integers
presumably there is a way to get the info.

Can anyone help please?
sprintf('%u', filesize($file));
Oct 7 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.