Reply to Warning: filemtime() (errno=75 - Value too large for defined data type)

Your name:

Reply:


Posted by "Andrew Brampton" on 11/26/66 11:17

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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация