Hi,
I'm receiving the following warning:

Warning: filemtime(): Stat failed for master.log (errno=75 - Value too large for defined data type) in test.php on line 5

when I do the following line of code:
filemtime ('master.log');

The file in question is over 2GB, but I'm not interested in its size, I just want to know the time it was last modified. I presume filemtime is just doing a stat which is failing when it tries to read the size field. Whatever the cause filemtime is returning false and displaying that warning.

Does anyone know a work around for this warning (which does not involve shelling out a command line app)?

My code was working fine until the file reached 2GB.

Thanks
Andrew

P.S I'm running PHP 4.3.10-13 on a Debian distro.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to