ID: 27792 Comment by: radon8472 at hotmail dot com Reported By: kode at kodekrash dot com Status: Assigned Bug Type: Filesystem function related Operating System: * (LFS) PHP Version: 6CVS, *CVS Assigned To: wez New Comment:
file_get_contents() has also Problems with files over 2 GB Border. Doea anybody know when there will be released an php version with lage File Support (4GB an larger) ? Previous Comments: ------------------------------------------------------------------------ [2007-10-14 22:17:19] [EMAIL PROTECTED] You might like to try the following patch: http://news.php.net/php.internals/32767 ------------------------------------------------------------------------ [2007-08-17 09:36:22] aames at lycos dot de Hello, Using ---------- if($file != '.' && $file != '..' && filetype($folderpath . '/' . $file) == 'file' && substr($file,0,1) != '.'){ $fileid = fileid($folderpath,$file); $files[$file] = array($fileid,'exist'); } ---------- To determine if a given filename is a file. filetype() results in the already mentioned Errors for a file with 3.5 GB --> even on PHP Version 5.2.1 ------------------------------------------------------------------------ [2007-04-11 21:38:48] robertmcol at gmail dot com Hi, My OS information is PHP Version 5.1.6 Apache/2.2.2 (Fedora) Fedora Core 5 Kernel 2.6.20-1.2307.fc5 Is the issue with large files resolved ? If not are there any expectations as to when it may get resolved ? I have been trying to sort a problem displaying large files and dates and have been getting invalid results. ------------------------------------------------------------------------ [2006-12-27 20:36:37] bond00 at byu dot edu I would love to know if this bug has indeed been fixed in 5.2. I tried it in 5.2 and it didn't work, but someone mentioned that this could be due to my 32 bit processor. Can anyone confirm this as well? Thanks! ------------------------------------------------------------------------ [2006-12-18 03:09:08] judas dot iscariote at gmail dot com This seems to work in 5.2.0 file_exists is returning correct information on large files.. I dunno why this wasnt metioned in the Changelog.. nor if the included solution is complete or partial.. can any dev confirm this ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27792 -- Edit this bug report at http://bugs.php.net/?id=27792&edit=1