时间:2021-07-01 10:21:17 帮助过:25人阅读
$encryption = "username";
echo base64_encode ($encryption);//echo "dXNlcm5hbWU= ";
echo "
";
echo urlencode("http://".$encryption);//echo " http%3A%2F%2Fusername ";
echo "
";
echo sha1($encryption);//echo "249ba36000029bbe97499c03db5a9001f6b734ec"
echo "
";
?>
记录它们的大概长相,以便日后遇到类的处理能够很快辨别出来。
顺便附上我当时找到脚本的文章地址:http://www.gxlcms.com/article/29486.htmhttp://www.bkjia.com/PHPjc/324923.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/324923.htmlTechArticle登录原理还是蛮复杂的,像我这样以为curl获取页面再post上去的想法真是太单纯了。 整理下遇到的价格处理字符串的函数: 代码如...