标签:
$url = ‘http://127.0.0.1‘ ;
$header = array("Host:127.0.0.1",
"Content-Type:application/x-www-form-urlencoded",
‘Referer:http://127.0.0.1/toolindex.xhtml‘,
‘User-Agent: Mozilla/4.0 (compatible; MSIE .0; Windows NT 6.1; Trident/4.0; SLCC2;)‘);
$data = ‘tools_id=1&env=gamma‘;
echo "argv:$data<br>";
标签:
原文地址:http://my.oschina.net/u/2462507/blog/508404