test

地址:

http://qlylian.com/

账号1:898682800@qq.com
账号2:kekezu123@sina.com


后台:
http://qlylian.com/supervise/login

 

https://94p2qp.axshare.com/#g=1&p=no_1%E4%BC%97%E5%8C%85%E6%95%B4%E4%BD%93%E4%B8%9A%E5%8A%A1%E6%B5%81%E7%A8%8B

 

链接: https://pan.baidu.com/s/17gAWev4mFc5Eigtcd7kjVw 密码: qzkb

 

359 613 817

7974

 

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.1 Safari/537.11');
$res = curl_exec($ch);
$rescode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch) ;
$text=str_replace(array("\r","\n","\t","\s"), '', $res);
$m1=preg_match('|<rescode>(.*?)<\/rescode>|',$text,$m);
var_dump($m);
 
 
 
 
 
 
 
 
 
 
 
 
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>数据交互</title>
<script src="jquery-1.10.2.js"></script>
</head>
<body>
当前比特币价钱: <span class="sd"></span> </br>
输入:<input type="text" id="fdsfds" value=""></br>
输出值: <span class="sjr"></span>
</body>
<script>
//假设每隔5秒发送一次请求
window.onload = function () {
getApi();
}
var val = 0;
function getApi() {
//设置时间 5-秒 1000-毫秒 这里设置你自己想要的时间
setTimeout(getApi,15*1000);
$.ajax({
url: 'http://localhost/l.php',
type: 'get',
dataType: 'json',
success: function (data) {
// console.log(data.data);
val = data;
$('.sd').html(val)
}
})
}
$('#fdsfds').bind('input propertychange', function () {
var vs = $(this).val();
var vss = vs*val;
$('.sjr').html(vss)
});
</script>
</html>

posted on 2018-05-18 18:05  藕块圈圈  阅读(97)  评论(0)    收藏  举报

导航