最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php convert_uuencode() 与 convert_uuencode 函数
时间:2010-12-06 编辑:简简单单 来源:一聚教程网
convert_uudecode() 函数对 uuencode 编码的字符串进行解码。
语法
convert_uudecode(string)
*/
$str=",2&5l;&/@=v]r;&0a `"; //定义uuencode编码字符串
$result=convert_uudecode($str); //解码
echo $result; //输出结果数据,hello world!
/*
convert_uuencode() 函数使用 uuencode 算法对字符串进行编码。
语法
convert_uuencode(string)
*/
$str="hello world"; //定义字符串
echo $str; //输出原始字符串
$result=convert_uuencode($str); //执行uuencode操作
echo $result;
/*
注释:本函数把所有字符串(包括二进制的)转换为可打印的字符串,确保其网络传输的安全。
注释:uuencode 的字符串比原字符串增大大约 35%。
-
下一个: php 数组查找关键函数
相关文章
- php中bind_param()函数用法分析 08-03
- PHP函数rtrim()使用中的怪异现象分析 05-01
- php 基础函数 03-27
- php 常用的系统函数 03-17
- 给大家分享几个常用的PHP函数 01-19
- PHP162个常用函数总结 12-28