Re: How to get filesize when stat() fails

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Oscar Arreyano

    Re: How to get filesize when stat() fails


    "jimbob" <nospam@virging medio.comwrote in message
    news:mq7ke45h9h ti1fp0c8o693qqr g5kavqk4g@4ax.c om...
    >
    I'm trying to get a byte count on a fat32 system with files up to 4Gb in
    size
    but the stat/filesize function fails on large files.
    >
    I understand this may be related to the PHP limitation of signed integers
    but
    presumably there is a way to get the info.
    >
    Can anyone help please?
    sprintf('%u', filesize($file) );


Working...