摘要:
<?php$ch=curl_init(); curl_setopt($ch,CURLOPT_URL,$url)//抓取url curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_HEADER,1); $output=c
阅读全文
posted @ 2016-05-20 15:27
paulversion
阅读(191)
推荐(0)
编辑
摘要:
<?php $module = $_GET['module']; $action = $_GET['action']; $token = md5sum($module.date('Y-m-d',time()).'#$@%!*'.$action); if($token != $_GET['token'
阅读全文
posted @ 2016-05-20 11:12
paulversion
阅读(1889)
推荐(0)
编辑
摘要:
<?php $data=array('name'=>'paul','mail'=>'paulversion@163.com') $data=http_build_query($data); $opts=array( 'http'=>array( 'method'=>'Post', 'header'=
阅读全文
posted @ 2016-05-20 10:27
paulversion
阅读(164)
推荐(0)
编辑