- <?php
-
-
-
-
-
-
-
-
- $url='http://www.kalvin.cn/index.php';
-
-
- $referer='http://www.kalvin.cn/';
-
-
- $cookie='';
-
-
- $post_data='author=孤魂&date=2008.06.04';
-
-
- $useragent='';
-
-
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_URL,$url);
- curl_setopt($ch, CURLOPT_REFERER, $referer);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- $result = curl_exec($ch);
- ?>
posted @
2009-03-09 22:04
瑞尼书苑
阅读(
400)
评论()
收藏
举报