復(fù)制代碼 代碼如下:<?php $chars=array("a","b","c","d","e","f","g","h", "i","j","k","l","m","n","o&qu " /> 国产日韩一区二区三区在线观看 ,99视频在线永久免费观看,在线看成人

一区二区久久-一区二区三区www-一区二区三区久久-一区二区三区久久精品-麻豆国产一区二区在线观看-麻豆国产视频

php生成短網(wǎng)址示例

php生成短網(wǎng)址

復(fù)制代碼 代碼如下:
<?php 
$chars=array("a","b","c","d","e","f","g","h",
    "i","j","k","l","m","n","o","p",
    "q","r","s","t","u","v","w","x",
    "y","z","0","1","2","3","4","5",
    "6","7","8","9","A","B","C","D",
    "E","F","G","H","I","J","K","L",
    "M","N","O","P","Q","R","S","T",
    "U","V","W","X","Y","Z");
$salt="www.joNETo.com";
$hash=md5("http://www.sina.com".$salt);
$rs=array();
for($i=0;$i<4;$i++){
 $temp=substr($hash, $i*8,8);
 $temp=base_convert($temp, 16, 10) & base_convert("3fffffff", 16, 10);

 $str="";
 for($j=0;$j<6;$j++){
  $subtemp=$temp & intval(base_convert("3d", 16, 10));
  $str.=$chars[$subtemp];
  $temp=$temp>>5;
 }
 unset($temp);
 $rs[]=$str;
}
print_r($rs);
?>

php技術(shù)php生成短網(wǎng)址示例,轉(zhuǎn)載需保留來(lái)源!

鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請(qǐng)第一時(shí)間聯(lián)系我們修改或刪除,多謝。

主站蜘蛛池模板: 久久综合一 | 综合激情区视频一区视频二区 | 国产永久视频 | 91精品国产91久久久久久青草 | avwww在线| 亚洲人成综合在线播放 | 久久综合香蕉久久久久久久 | 国内精品91久久久久 | 国产欧美91 | 日本欧美一区二区三区视频麻豆 | 在线免费看污视频 | 亚洲日本一区二区三区高清在线 | 美女黄影院| 国产成人激情 | 国产熟睡乱子伦视频观看看 | 综合成人在线 | 亚洲影视在线观看 | av基地| 四虎国产精品永久地址99新强 | 哟哟色 | 久久婷婷色| 9久热这里只有精品免费 | chinese麻豆自制国产 | 一区小说二区另类小说三区图 | 色视频免费网站 | 成 人免费va视频 | 一区三区三区不卡 | 黄大片a级免色 | 久久538| 91极品视频在线观看 | 91精品国产乱码久久久久久 | 福利网在线观看 | 日本不卡一区二区三区在线观看 | 欧美午夜a级精美理论片 | 97精品在线视频 | 亚洲欧美在线视频观看 | 国产精品久久久尹人香蕉 | 91社区在线观看 | 国产精品久久免费视频 | 日日噜噜夜夜躁躁狠狠 | 伊人精品成人久久综合欧美 |