Bug #16617 Updated: base64_encode
| From: | danielc at analysisandsolutions dot com | Date: | Tue, 02 Jul 2002 02:18:57 +0000 |
| Subject: | Bug #16617 Updated: base64_encode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12748@lists.php.net to get a copy of this message | ||
ID: 16617
Updated by: danielc@analysisandsolutions.com
Reported By: mick@martingalli.com
Status: No Feedback
Bug Type: URL related
Operating System: Windows 2000
PHP Version: 4.1.2
New Comment:
Had similar problems, but no longer do. Think it was resolved by a
combination of adding "b" to the fopen() statement, fopen('file',
'rb'), and fixing another error in my code.
Previous Comments:
------------------------------------------------------------------------
[2002-06-12 01:00:07] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-05-15 04:40:53] bullshit@burk.dhs.org
http://php.holtsmark.no/base64img/
has this bug when running the base64img script under win32 env. The
output of the base64_encode() is not the same under win32 and under
linux. The base64_decode() seems to work fine under both os if the
base64-data first was created under linux. as just like i said:
base64_encode() seems not to work correctly under win32 envariment.
I'm using php v 4.1.1
------------------------------------------------------------------------
[2002-05-11 16:58:36] edink@php.net
Could you please attach a short reproducing script? Does this happen in
the latest cvs version of php that can be found on
http://snaps.php.net/win32/php4-win32-latest.zip
?
------------------------------------------------------------------------
[2002-04-15 08:32:22] mick@martingalli.com
base64_encode function randomly truncates the encoded output string
(used in mail attachment script with the chunk_split function). The
same error occured in 4.1.1. I've tested the same thing on Linux and it
works fine...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16617&edit=1