From: [EMAIL PROTECTED] Operating system: FreeBSD4.5 PHP version: 4CVS-2002-10-06 PHP Bug Type: Filesystem function related Bug description: A big problem with fread() with PHP4.3.0
on some of my code I use the following: $fd=fopen($filename,"rb"); echo fread($fd,filesize($filename)); fclose($fd); It looks fread is limited to a certain value. I can't get more than a certain size. With bigs files, I dont get all of them but just a part so I had to use fgets. Can someone check if something changed on the fread()'s function that would limit it? -- Edit bug report at http://bugs.php.net/?id=19783&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19783&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19783&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19783&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19783&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19783&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19783&r=support Expected behavior: http://bugs.php.net/fix.php?id=19783&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19783&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19783&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19783&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19783&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19783&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19783&r=isapi