English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The convert_uuencode() function is used to encode a string using uuencode
string convert_uudecode ( string $data )
convert_uuencode() uses the uuencode algorithm to encode a string.
The uuencode algorithm converts all (including binary data) strings into output characters that can be safely used for network transmission. The data encoded with uuencode will be larger than the original data35%left and right
Returns the uuencode encoded data or FALSE on failure.
Serial Number | Parameters and Description |
---|---|
1 | data Data to be encoded. |
Try the following example, using convert_uuencode to encode data:
<?php //Use convert_uuencode to encode data $some_string = "test\ntext text\r\n"; echo convert_uuencode($some_string); ?>Test and see‹/›
Output Result
0=&5S=`IT97AT('1E>'0-"@`` `