convert_uudecode() 函數(shù)對(duì) uuencode 編碼的字符串進(jìn)行解碼.
語(yǔ)法:convert_uudecode(string),代碼如下:
- $str=",2&5l;&/@=v]r;&0a `"; //定義uuencode編碼字符串
- $result=convert_uudecode($str); //解碼
- echo $result; //輸出結(jié)果數(shù)據(jù),hello world!
convert_uuencode() 函數(shù)使用 uuencode 算法對(duì)字符串進(jìn)行編碼.
語(yǔ)法:convert_uuencode(string),代碼如下:
- $str="hello world"; //定義字符串
- echo $str; //輸出原始字符串
- //開源代碼phpfensi.com
- $result=convert_uuencode($str); //執(zhí)行uuencode操作
- echo $result;
注釋:本函數(shù)把所有字符串(包括二進(jìn)制的)轉(zhuǎn)換為可打印的字符串,確保其網(wǎng)絡(luò)傳輸?shù)?a >安全,uuencode 的字符串比原字符串增大大約 35%.
轉(zhuǎn)載請(qǐng)注明來(lái)源:php convert_uuencode() 與 convert_uuencode 函數(shù)哈爾濱品用軟件有限公司致力于為哈爾濱的中小企業(yè)制作大氣、美觀的優(yōu)秀網(wǎng)站,并且能夠搭建符合百度排名規(guī)范的網(wǎng)站基底,使您的網(wǎng)站無(wú)需額外費(fèi)用,即可穩(wěn)步提升排名至首頁(yè)。歡迎體驗(yàn)最佳的哈爾濱網(wǎng)站建設(shè)。
