From: adax2000 at tlen dot pl
Operating system: linux
PHP version: 4.3.11
PHP Bug Type: *Mail Related
Bug description: base64_encode
Description:
------------
the problem was descibed year ago in #26742 but there's no answer.
i supouse there's bug in function base64_encode
or in file_get_contents, due to this i cannot send mail with attachments.
is it possible that i have some error in configuration witch make this
Reproduce code:
---------------
echo base64_encode(file_get_contents("rys1.gif"));
Expected result:
----------------
R0lGODdhZABGAPcAAAAAAP////////////...
I get this in version 4.3.6
Actual result:
--------------
R0lGODdhZFwwRlww91wwXDBcMFwwXDD/////...
--
Edit bug report at http://bugs.php.net/?id=33494&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33494&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=33494&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=33494&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33494&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33494&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33494&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33494&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33494&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33494&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33494&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=33494&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=33494&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33494&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33494&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33494&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33494&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33494&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33494&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33494&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33494&r=mysqlcfg