ID: 16617 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: URL related Operating System: Windows 2000 PHP Version: 4.1.2 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2002-05-11 16:58:36] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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