解决方案 »
- ext4中的插件itemselector如何做到自定义显示?
- ExtJs 中tabpanel 的问题
- 文本框是生成的,用户在文本框中输入数据后再到服务器端运算...
- textarea光標反白區,點button在反白區兩旁加入html標籤
- 怎样使用JS读取其他网站的MXL?(就是WAP页面)
- 浏览器中如何获取分辨率,并改变镶嵌在其中的flash尺寸?
- 为什么执行form.submit()时总是报错
- 使用 this 指针和 prototype 实现 js 的 OO 时的一个区别
- 用JavaScript給服務器端的控件寫驗證程序?
- 如何通过javascript读出页面中Link标签里src的css文件的内容?
- JS提示对话框的问题。
- jQuery实现两个tabel的数据左右迁移
<?php
$str = '253444253534253435253335253439253434253435253737253444253533253431253738253444253434253637253637253446253534253642253637253444253534253435253738253439253434253435253737253446253533253431253738253444253434253435253637253444253534253435253332253439253434253435253738253444253533253431253331253444253533253431253331253445253433253431253330253446253433253431253344';
function hexToStr($hex)
{
$string="";
for($i=0;$i<strlen($hex)-1;$i+=2)
$string.=chr(hexdec($hex[$i].$hex[$i+1]));
return $string;
}
$str = base64_decode(urldecode(hexToStr($str)));
$arr = explode(" ",$str);
foreach($arr as $key => $val){
echo chr($val);
}我的问题: 在拿到这串东西后,怎么确定用什么方法解密?
$str = '2534…… 直接调用解密函数 hexToStr($str); 得到结果是:welcometo360
alert('password ')
小生飘过~~~~~