Home  >  Article  >  Backend Development  >  php convert_uudecode() and convert_uuencode function_PHP tutorial

php convert_uudecode() and convert_uuencode function_PHP tutorial

PHP中文网
PHP中文网Original
2016-07-20 11:02:201079browse

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

$result=convert_uuencode($str); //Perform uuencode operation

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...


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn