(or use the chunklen parameter)
--
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
status Rejected
It's perfectly base64 encoded. The base64 encoding specifies nothing
about line length, you're responsible for splitting it yourself. (eg
with chunck_split)
** Changed in: php4 (Ubuntu)
Status: Unconfirmed => Rejected
--
base64_encode produces invalidly encoded string
h
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.
http://bugs.php.net/gifs/logo-bug.gif";) );
print base64_encode($file);
?>
This produces a string with just one line, instead