亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

PHP convert_uudecode()函數(shù)講解

 更新時(shí)間:2019年02月14日 08:33:29   作者:php參考手冊(cè)  
今天小編就為大家分享一篇關(guān)于PHP convert_uudecode()函數(shù)講解,小編覺得內(nèi)容挺不錯(cuò)的,現(xiàn)在分享給大家,具有很好的參考價(jià)值,需要的朋友一起跟隨小編來(lái)看看吧

PHP convert_uuencode() 函數(shù)

實(shí)例

編碼字符串:

<?php 
$str = "Hello world!"; 
echo convert_uuencode($str); 
?>

定義和用法

convert_uuencode() 函數(shù)使用 uuencode 算法對(duì)字符串進(jìn)行編碼。

注釋: 該函數(shù)把所有字符串(包括二進(jìn)制)編碼為可打印的字符,確保其數(shù)據(jù)庫(kù)存儲(chǔ)及網(wǎng)絡(luò)傳輸?shù)陌踩?。?qǐng)記住,在重新使用數(shù)據(jù)前,請(qǐng)使用 convert_uudecode() 函數(shù)。

注釋: uuencoded 數(shù)據(jù)比原數(shù)據(jù)大約增大 35%。

語(yǔ)法

convert_uuencode( _string_ )

實(shí)例 1

編碼字符串,然后對(duì)它進(jìn)行解碼:

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

總結(jié)

以上就是這篇文章的全部?jī)?nèi)容了,希望本文的內(nèi)容對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,謝謝大家對(duì)腳本之家的支持。如果你想了解更多相關(guān)內(nèi)容請(qǐng)查看下面相關(guān)鏈接

相關(guān)文章

最新評(píng)論