PHP.nl

convert_uuencode

convert_uuencode

Uuencode a string

string **convert_uuencode** string $string
encodes a string using the uuencode

algorithm. convert_uuencode

Uuencode translates all strings (including binary data) into printable characters, making them safe for network transmissions. Uuencoded data is about 35% larger than the original.

Opmerking: > neither produces the nor the line, which are part of uuencoded . convert_uuencode``begin``endfiles

stringThe data to be encoded.

Returns the uuencoded data.

Voorbeeld: example

<?php
$some_string = "test\ntext text\r\n";

echo convert_uuencode($some_string);
?>
0=&5S=`IT97AT('1E>'0-"@``
`

convert_uudecode``base64_encode