Public bug reported: Calling base64_encode in php does not produce valid base64 encoded string.
The lines are too long, there should be a line break every 76 characters. <? $file = implode( "", file("http://bugs.php.net/gifs/logo-bug.gif") ); print base64_encode($file); ?> This produces a string with just one line, instead of 114 lines. ** Affects: php4 (Ubuntu) Importance: Untriaged Status: Unconfirmed -- base64_encode produces invalidly encoded string https://launchpad.net/bugs/54140 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs