Phpconvert_uuencode () and convert_uuencode functions. The convert_uudecode () function decodes uencode-encoded strings. Syntax convert_uudecode (string) * $ str, 25l; @ v] r; 0a'; defines the uencode encoded string $ resultconvert_uud convert_uuudecode () function to decode uencode encoded strings.
Syntax
Convert_uudecode (string)
*/
$ Str = ", 2 & 5l; & // @ = v] r; & 0a" '; // defines the uencode encoded string
$ Result = convert_uudecode ($ str); // decoded
Echo $ result; // output result data, hello world!
/*
The convert_uuencode () function uses the uuencode algorithm to encode the string.
Syntax
Convert_uuencode (string)
*/
$ Str = "hello world"; // define a string
Echo $ str; // output the original string
$ Result = convert_uuencode ($ str); // run the uencode operation.
Echo $ result;
/*
Note: This function converts all strings (including binary strings) to printable strings to ensure network transmission security.
Note: the uuencode string is about 35% larger than the original string.
The http://www.bkjia.com/PHPjc/445381.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/445381.htmlTechArticleconvert_uudecode () function decodes uuencode-encoded strings. Syntax convert_uudecode (string) */$ str =, 25l; // @ = v] r; 0a'; // defines the uencode encoded string $ result = convert_uud...