[PHP] fread() fails with large files

2002-11-03 Thread Sora B. Harbater
Hi. I am using Linux/Apache with PHP 4.1.2. I have been experiencing this problem since upgrading from an earlier version of PHP 4. My script forces a download of a PDF file after looking up some info in a database. The code looks like this: $file=/path/to/file; $fp = fopen($file, r);

Re: [PHP] fread() fails with large files

2002-11-03 Thread rija
- From: Sora B. Harbater [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 12:44 AM Subject: [PHP] fread() fails with large files Hi. I am using Linux/Apache with PHP 4.1.2. I have been experiencing this problem since upgrading from an earlier version of PHP 4. My script