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

php convert_uudecode() and convert_uuencode function_PHP tutorial

PHP中文网
Release: 2016-07-20 11:02:20
Original
1118 people have browsed it

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


Related labels:
source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template