From: josh at jamisonadvertising dot com Operating system: RedHat PHP version: 4.3.4 PHP Bug Type: *Mail Related Bug description: attached files are missing bytes
Description: ------------ When using this class file: http://www.phpguru.org/ mime.mail.html to send mail with MIME attachments, the attachment comes through with bytes missing. This happens in both 4.3.3 and 4.3.4. I installed the identical code on a box running 4.2.3 (both boxes RedHat Linux with Apache) and the attachments came through intact. I had seen this described in a previous bug report here: http://bugs.php.net/bug.php?id=26061, but we updated the 4.3.4 version to the latest snapshot and the problem persists. Reproduce code: --------------- http://www.phpguru.org/mime.mail.html Expected result: ---------------- Use the example.1.php file, and you will see that the attached zip file is corrupted. Actual result: -------------- Attached files are missing bytes. -- Edit bug report at http://bugs.php.net/?id=27684&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27684&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27684&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27684&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27684&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27684&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27684&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27684&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27684&r=support Expected behavior: http://bugs.php.net/fix.php?id=27684&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27684&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27684&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27684&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27684&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27684&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27684&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27684&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27684&r=float
