用php寫的加解密程式 function encrypt($word){ $i = $word; $temp; //取出字串中所有字元並加密再存入字串中 for ($j=0;$j<strlen($i);$j++){ $temp = 酒店兼職substr($i,$j,1); $temp = ord($temp)+1; $i=substr_replace($i,chr($temp),$j,1); } return $i; } //要解密時呼叫的函式 function decrypt($word){ 酒店經紀 $i = $word; $temp; //取出字串中所有字元進行解密再存入字串中 for ($j=0;$j<strlen($i);$j++){ $temp = substr($i,$j,1); $temp = 酒店經紀ord($temp)-1; $i=substr_replace($i,chr($temp),$j,1); } return $i; }
.msgcontent .wsharing ul li { text-indent: 0; }
分享
Facebook
Plurk
酒店經紀 YAHOO!
.msgcontent .wsharing ul li { text-indent: 0; }
分享
Plurk
酒店經紀 YAHOO!
全站熱搜
留言列表