Home > Article > Backend Development > php convert_uudecode() and convert_uuencode function_PHP tutorial
convert_uudecode() function decodes uuencode-encoded strings.
Syntax
convert_uudecode(string)
*/
$str=",2&5l;&/@=v]r;&0a `"; //Define uuencode encoding string
$result=convert_uudecode($str); //Decode
echo $result; Encode the string.
Syntax
convert_uuencode(string)*/
$str="hello world"; String
echo $result;
/*
Note: This function converts all strings (including binary) into a printable string to ensure the security of its network transmission.
Note: The uuencoded string is approximately 35% larger than the original string.
http://www.bkjia.com/PHPjc/445381.htmlwww.bkjia.comtruehttp://www.bkjia. com/PHPjc/445381.htmlTechArticleconvert_uudecode() function decodes a uuencode-encoded string. Syntax convert_uudecode(string) */ $str=,25l;/@=v]r;0a `;//Define uuencode encoding string $result=convert_uud...