您当前的位置:首页 > 网站建设 > php
| php | asp | css | H5 | javascript | Mysql | Dreamweaver | Delphi | 网站维护 | 帝国cms | React | 考试系统 | ajax | jQuery |

PHP convert_uudecode() 函数

51自学网 2023-01-07 20:31:01
  php

实例

对 uuencode 编码的字符串进行解码:

<?php$str = ",2&5L;&@=V]R;&0A `";echo convert_uudecode($str);?>

定义和用法

convert_uudecode() 函数对 uuencode 编码的字符串进行解码。

该函数通常与 convert_uuencode() 函数一起使用。

语法

convert_uudecode(string)

参数 D描述
string 必需。规定要解码的 uuencode 编码的字符串。

技术细节

返回值:以字符串形式返回解码的数据。
PHP 版本:5+

更多实例

实例 1

编码字符串,然后对它进行解码:

<?php
$str = "Hello world!";
// Encode the string
$encodeString = convert_uuencode($str);
echo $encodeString . "<br>";

// Decode the string
$decodeString = convert_uudecode($encodeString);
echo $decodeString;
?>


下载地址:
PHP convert_cyr_string() 函数
PHP convert_uuencode() 函数
51自学网,即我要自学网,自学EXCEL、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。
京ICP备13026421号-1