1. 程式人生 > >C傳送http請求

C傳送http請求

之前用python編寫了傳送http請求的。非常非常方便。很多細節都已經被python內部處理了。這裡來說說C編寫的http請求:

#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <netinet/in.h>
#include <stdlib.h>

#define MAXLINE 1024

int main()
{
	int sockfd,n;
	char recvline[MAXLINE];
	struct sockaddr_in servaddr;
	char dns[32];
	char url[128];
	char *IP = "218.244.133.30";
	char *buf = "GET /forum.php HTTP/1.1\r\n\
Host: 218.244.133.30\r\n\
Proxy-Connection: keep-alive\r\n\
Cache-Control: max-age=0\r\n\
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\n\
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36\r\n\
Accept-Encoding: gzip,deflate,sdch\r\n\
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6\r\n\
Cookie: P52Q_2132_saltkey=M99iR1So; P52Q_2132_lastvisit=1402616897; P52Q_2132_nofavfid=1; P52Q_2132_visitedfid=2D41D38; P52Q_2132_ulastactivity=63e8Um91gzrgSl71VxWDURz5puThdraSkMWMi3yotj2QHi7O95z5; P52Q_2132_lastcheckfeed=2%7C1404624305; P52Q_2132_editormode_e=1; P52Q_2132_smile=2D1; P52Q_2132_st_t=0%7C1404692476%7Cf1fb107592d1e4dabffd9e8cc052c9bc; P52Q_2132_forum_lastvisit=D_41_1404310798D_2_1404692476; P52Q_2132_seccode=121.8807c72fe7905a644e; P52Q_2132_st_p=0%7C1404692480%7C80767b97b5c8a3d320ed9e0348d982cf; P52Q_2132_viewid=tid_76; P52Q_2132_sid=GQJqQ6; P52Q_2132_lastact=1404693952%09forum.php%09ajax\r\n\
\r\n";
	if((sockfd = socket(AF_INET,SOCK_STREAM,0)) < 0)
		printf("socket error\n");
	printf("1\n");
	bzero(&servaddr,sizeof(servaddr));
	servaddr.sin_family = AF_INET;
	servaddr.sin_port = htons(80);
	if(inet_pton(AF_INET,IP,&servaddr.sin_addr) <= 0)
		printf("inet_pton error\n");
	if(connect(sockfd,(struct sockaddr *)&servaddr,sizeof(servaddr)) < 0)
		printf("connect error\n");
	write(sockfd,buf,strlen(buf));
	printf("%s\n\n",buf);
	while((n = read(sockfd,recvline,MAXLINE)) > 0)
	{
		recvline[n] = 0;
		if(fputs(recvline,stdout) == EOF)
			printf("fputs error\n");
	}
	if(n < 0)
		printf("read error\n");
	printf("all ok now\n");
	exit(0);
}
注意了,這個編寫主要是buf的內容,不能出任何差錯。一個空格都不能有,不然,就會報錯。在這裡,格式一定要注意,你要訪問的某個網站,你可以用一些抓包軟體來看看訪問某個網站的請求是什麼。是的,千萬不能出錯,一個空格,對方可能就返回錯誤呢。

執行返回內容:

GET /forum.php HTTP/1.1
Host: 218.244.133.30
Proxy-Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8,en;q=0.6
Cookie: P52Q_2132_saltkey=M99iR1So; P52Q_2132_lastvisit=1402616897; P52Q_2132_nofavfid=1; P52Q_2132_visitedfid=2D41D38; P52Q_2132_ulastactivity=63e8Um91gzrgSl71VxWDURz5puThdraSkMWMi3yotj2QHi7O95z5; P52Q_2132_lastcheckfeed=2%7C1404624305; P52Q_2132_editormode_e=1; P52Q_2132_smile=2D1; P52Q_2132_st_t=0%7C1404692476%7Cf1fb107592d1e4dabffd9e8cc052c9bc; P52Q_2132_forum_lastvisit=D_41_1404310798D_2_1404692476; P52Q_2132_seccode=121.8807c72fe7905a644e; P52Q_2132_st_p=0%7C1404692480%7C80767b97b5c8a3d320ed9e0348d982cf; P52Q_2132_viewid=tid_76; P52Q_2132_sid=GQJqQ6; P52Q_2132_lastact=1404693952%09forum.php%09ajax



HTTP/1.1 200 OK
Date: Mon, 07 Jul 2014 06:51:21 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/5.3.3
Set-Cookie: P52Q_2132_sid=mX4nx9; expires=Tue, 08-Jul-2014 06:51:21 GMT; path=/
Set-Cookie: P52Q_2132_lastact=1404715881%09forum.php%09; expires=Tue, 08-Jul-2014 06:51:21 GMT; path=/
Set-Cookie: P52Q_2132_onlineusernum=1; expires=Mon, 07-Jul-2014 06:56:21 GMT; path=/
Set-Cookie: P52Q_2132_sid=mX4nx9; expires=Tue, 08-Jul-2014 06:51:21 GMT; path=/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=gbk

42cc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>��̳ -  Powered by Discuz!</title>

<meta name="keywords" content="��̳" />
<meta name="description" content="��̳ " />
<meta name="generator" content="Discuz! X3.1" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="2001-2013 Comsenz Inc." />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<base href="http://218.244.133.30/" /><link rel="stylesheet" type="text/css" href="data/cache/style_1_common.css?n93" /><link rel="stylesheet" type="text/css" href="data/cache/style_1_forum_index.css?n93" /><script type="text/javascript">var STYLEID = '1', STATICURL = 'static/', IMGDIR = 'static/image/common', VERHASH = 'n93', charset = 'gbk', discuz_uid = '0', cookiepre = 'P52Q_2132_', cookiedomain = '', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = 'newthread', creditnotice = '1|����|,2|��Ǯ|,3|����|', defaultstyle = '', REPORTURL = 'aHR0cDovLzIxOC4yNDQuMTMzLjMwL2ZvcnVtLnBocA==', SITEURL = 'http://218.244.133.30/', JSPATH = 'static/js/', DYNAMICURL = '';</script>
<script src="static/js/common.js?n93" type="text/javascript"></script>
<meta name="application-name" content="Discuz! Board" />
<meta name="msapplication-tooltip" content="Discuz! Board" />
<meta name="msapplication-task" content="name=��̳;action-uri=http://218.244.133.30/forum.php;icon-uri=http://218.244.133.30/static/image/common/bbs.ico" />
<link rel="archives" title="Discuz! Board" href="http://218.244.133.30/archiver/" />
<link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_1_widthauto.css?n93" />
<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
<script src="static/js/forum.js?n93" type="text/javascript"></script>
</head>

<body id="nv_forum" class="pg_index" onkeydown="if(event.keyCode==27) return false;">
<div id="append_parent"></div><div id="ajaxwaitid"></div>
<div id="toptb" class="cl">
<div class="wp">
<div class="z"><a href="javascript:;"  onclick="setHomepage('http://218.244.133.30/');">��Ϊ��ҳ</a><a href="http://218.244.133.30/"  onclick="addFavorite(this.href, 'Discuz! Board');return false;">�ղر�վ</a></div>
<div class="y">
<a id="switchblind" href="javascript:;" onclick="toggleBlind(this)" title="������������" class="switchblind">������������</a>
<a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="�л���խ��" class="switchwidth">�л���խ��</a>
</div>
</div>
</div>

<div id="qmenu_menu" class="p_pop blk" style="display: none;">
<div class="ptm pbw hm">
�� <a href="javascript:;" class="xi2" onclick="lsSubmit()"><strong>��¼</strong></a> ��ʹ�ÿ��ݵ���<br />û���ʺţ�<a href="member.php?mod=register" class="xi2 xw1">����ע��</a>
</div>
<div id="fjump_menu" class="btda"></div></div><div id="hd">
<div class="wp">
<div class="hdc cl"><h2><a href="./" title="Discuz! Board"><img src="static/image/common/logo.png" alt="Discuz! Board" border="0" /></a></h2><script src="static/js/logging.js?n93" type="text/javascript"></script>
<form method="post" autocomplete="off" id="lsform" action="member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes" onsubmit="return lsSubmit();">
<div class="fastlg cl">
<span id="return_ls" style="display:none"></span>
<div class="y pns">
<table cellspacing="0" cellpadding="0">
<tr>
<td>
<span class="ftid">
<select name="fastloginfield" id="ls_fastloginfield" width="40" tabindex="900">
<option value="username">�û���</option>
<option value="email">Email</option>
</select>
</span>
<script type="text/javascript">simulateSelect('ls_fastloginfield')</script>
</td>
<td><input type="text" name="username" id="ls_username" autocomplete="off" class="px vm" tabindex="901" /></td>
<td class="fastlg_l"><label for="ls_cookietime"><input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" tabindex="903" />�Զ���¼</label></td>
<td> <a href="javascript:;" onclick="showWindow('login', 'member.php?mod=logging&action=login&viewlostpw=1')">�һ�����</a></td>
</tr>
<tr>
<td><label for="ls_password" class="z psw_w">����</label></td>
<td><input type="password" name="password" id="ls_password" class="px vm" autocomplete="off" tabindex="902" /></td>
<td class="fastlg_l"><button type="submit" class="pn vm" tabindex="904" style="width: 75px;"><em>��¼</em></button></td>
<td> <a href="member.php?mod=register" class="xi2 xw1">����ע��</a></td>
</tr>
</table>
<input type="hidden" name="quickforward" value="yes" />
<input type="hidden" name="handlekey" value="ls" />
</div>
</div>
</form>

</div>

<div id="nv">
<a href="javascript:;" id="qmenu" onmouseover="delayShow(this, function () {showMenu({'ctrlid':'qmenu','pos':'34!','ctrlclass':'a','duration':2});showForummenu();})">���ݵ���</a>
<ul><li class="a" id="mn_forum" ><a href="forum.php" hidefocus="true" title="BBS"  >��̳<span>BBS</span></a></li></ul>
</div>
<div class="p_pop h_pop" id="mn_userapp_menu" style="display: none"></div><div id="mu" class="cl">
</div><div id="scbar" class="cl">
<form id="scbar_form" method="post" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="search.php?searchsubmit=yes" target="_blank">
<input type="hidden" name="mod" id="scbar_mod" value="search" />
<input type="hidden" name="formhash" value="25713a36" />
<input type="hidden" name="srchtype" value="title" />
<input type="hidden" name="srhfid" value="" />
<input type="hidden" name="srhlocality" value="forum::index" />
<table cellspacing="0" cellpadding="0">
<tr>
<td class="scbar_icon_td"></td>
<td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="��������������" autocomplete="off" x-webkit-speech speech /></td>
<td class="scbar_type_td"><a href="javascript:;" id="scbar_type" class="xg1" onclick="showMenu(this.id)" hidefocus="true">����</a></td>
<td class="scbar_btn_td"><button type="submit" name="searchsubmit" id="scbar_btn" sc="1" class="pn pnc" value="true"><strong class="xi2">����</strong></button></td>
<td class="scbar_hot_td">
<div id="scbar_hot">
<strong class="xw1">����: </strong>

<a href="search.php?mod=forum&srchtxt=%BB%EE%B6%AF&formhash=25713a36&searchsubmit=true&source=hotsearch" target="_blank" class="xi2" sc="1">�</a>



<a href="search.php?mod=forum&srchtxt=%BD%BB%D3%D1&formhash=25713a36&searchsubmit=true&source=hotsearch" target="_blank" class="xi2" sc="1">����</a>



<a href="search.php?mod=forum&srchtxt=discuz&formhash=25713a36&searchsubmit=true&source=hotsearch" target="_blank" class="xi2" sc="1">discuz</a>

</div>
</td>
</tr>
</table>
</form>
</div>
<ul id="scbar_type_menu" class="p_pop" style="display: none;"><li><a href="javascript:;" rel="forum" class="curtype">����</a></li><li><a href="javascript:;" rel="user">�û�</a></li></ul>
<script type="text/javascript">
initSearchmenu('scbar', '');
</script>
</div>
</div>


<div id="wp" class="wp">
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="��ҳ">Discuz! Board</a><em>»</em><a href="forum.php">��̳</a></div>
<div class="z"></div>
</div>



<style id="diy_style" type="text/css"></style>

<div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>

<div id="ct" class="wp cl">
<div id="chart" class="bm bw0 cl">
<p class="chart z">����: <em>0</em><span class="pipe">|</span>����: <em>10</em><span class="pipe">|</span>����: <em>232</em><span class="pipe">|</span>��Ա: <em>58</em><span class="pipe">|</span>��ӭ�»�Ա: <em><a href="home.php?mod=space&username=altenli" target="_blank" class="xi2">altenli</a></em></p>
<div class="y">
<a href="forum.php?mod=guide&view=new" title="���»ظ�" class="xi2">���»ظ�</a></div>
</div>
<!--[diy=diy_chart]--><div id="diy_chart" class="area"></div><!--[/diy]-->
<div class="mn">


<div class="fl bm">
<div class="bm bmw  cl">
<div class="bm_h cl">
<span class="o">
<img id="category_1_img" src="static/image/common/collapsed_no.gif" title="����/չ��" alt="����/չ��" onclick="toggle_collapse('category_1');" />
</span>
<h2><a href="forum.php?gid=1" style="">Discuz!</a></h2>
</div>
<div id="category_1" class="bm_c" style="">
<table cellspacing="0" cellpadding="0" class="fl_tb">
<tr><td class="fl_icn" >
<a href="forum.php?mod=forumdisplay&fid=2"><img src="static/image/common/forum.gif" alt="web��ȫ" /></a>
</td>
<td>
<h2><a href="forum.php?mod=forumdisplay&fid=2">web��ȫ</a></h2>
<p>����: <span class="xi2"><a href="home.php?mod=space&username=fredrick" class="notabs" c="1">fredrick</a></span></p></td>
<td class="fl_i">
<span class="xi2">29</span><span class="xg1"> / 96</span></td>
<td class="fl_by">
<div>
<a href="forum.php?mod=redirect&tid=75&goto=lastpost#lastpost" class="xi2">LINUXѧϰ��Ƶ</a> <cite><span title="2014-7-6 14:06">���� 14:06</span> <a href="home.php?mod=space&username=jaffer">jaffer</a></cite>
</div>
</td>
</tr>
<tr class="fl_row">
<td class="fl_icn" >
<a href="forum.php?mod=forumdisplay&fid=36"><img src="static/image/common/forum_new.gif" alt="���ܽ���" /></a>
</td>
<td>
<h2><a href="forum.php?mod=forumdisplay&fid=36">���ܽ���</a></h2>
<p>����: <span class="xi2"><a href="home.php?mod=space&username=naxi" class="notabs" c="1">naxi</a></span></p></td>
<td class="fl_i">
<span class="xi2">3</span><span class="xg1"> / 16</span></td>
<td class="fl_by">
<div>
<a href="forum.php?mod=redirect&tid=19&goto=lastpost#lastpost" class="xi2">������</a> <cite>2014-6-21 16:51 <a href="home.php?mod=space&username=%C3%DC%C2%EB-%CD%F5%D7%D3%BA%D8">����-���Ӻ�</a></cite>
</div>
</td>
</tr>
<tr class="fl_row">
<td class="fl_icn" >
<a href="forum.php?mod=forumdisplay&fid=43"><img src="static/image/common/forum_new.gif" alt="linux���K" /></a>
</td>
<td>
<h2><a href="forum.php?mod=forumdisplay&fid=43">linux���K</a></h2>
<p>����: <span class="xi2"><a href="home.php?mod=space&username=cubarco" class="notabs" c="1">cubarco</a></span></p></td>
<td class="fl_i">
<span class="xi2">3</span><span class="xg1"> / 8</span></td>
<td class="fl_by">
<div>
<a href="forum.php?mod=redirect&tid=33&goto=lastpost#lastpost" class="xi2">[ת]���ʵ��ǻ�</a> <cite>2014-6-29 00:44 <a href="home.php?mod=space&username=%B2%BC%D2%C2">����</a></cite>
</div>
</td>
</tr>
<tr class="fl_row">
<td class="fl_icn" >
<a href="forum.php?mod=forumdisplay&fid=37"><img src="static/image/common/forum_new.gif" alt="������ȫ" /></a>
</td>
<td>
<h2><a href="forum.php?mod=forumdisplay&fid=37">������ȫ</a></h2>
<p>����: <span class="xi2"><a href="home.php?mod=space&username=yanyuyao" class="notabs" c="1">yanyuyao</a></span></p></td>
<td class="fl_i">
<span class="xi2">17</span><span class="xg1"> / 71</span></td>
<td class="fl_by">
<div>
<a href="forum.php?mod=redirect&tid=21&goto=lastpost#lastpost" class="xi2">��ÿ�ܼƻ�������������</a> <cite>2014-6-18 23:05 <a href="home.php?mod=space&username=szxwlp">szxwlp</a></cite>
</div>
</td>
</tr>
<tr class="fl_row">
<td class="fl_icn" >
<a href="forum.php?mod=forumdisplay&fid=41"><img src="static/image/common/forum_new.gif" alt="���߰�ȫ" /></a>
</td>
<td>
<h2><a href="forum.php?mod=forumdisplay&fid=41">���߰�ȫ</a></h2>
<p>����: <span class="xi2"><a href="home.php?mod=space&username=lingfong" class="notabs" c="1">lingfong</a></span></p></td>
<td class="fl_i">
<span class="xi2">8</span><span class="xg1"> / 22</span></td>
<td class="fl_by">
<div>
<a href="forum.php?mod=redirect&tid=68&goto=lastpost#lastpost" class="xi2">���߹����ѵ�����ӭΧ��</a> <cite><span title="2014-7-6 12:21">���� 12:21</span> <a href="home.php?mod=space&username=%B2%BC%D2%C2">����</a></cite>
</div>
</td>
</tr>
<tr class="fl_row">
<td class="fl_icn" >
<a href="forum.php?mod=forumdisplay&fid=39"><img src="static/image/common/forum.gif" alt="ҵ������" /></a>
</td>
<td>
<h2><a href="forum.php?mod=forumdisplay&fid=39">ҵ������</a></h2>
<p>����: <span class="xi2"><a href="home.php?mod=space&username=jaffer" class="notabs" c="1">jaffer</a></span></p></td>
<td class="fl_i">
<span class="xi2">11</span><span class="xg1"> / 11</span></td>
<td class="fl_by">
<div>
<a href="forum.php?mod=redirect&tid=53&goto=lastpost#lastpost" class="xi2">OpenSSL�ܵ�����©��Ӱ�죬�ٷ� ...</a> <cite>2014-6-7 10:11 <a href="home.php?mod=space&username=jaffer">jaffer</a></cite>
</div>
</td>
</tr>
<tr class="fl_row">
<td class="fl_icn" >
<a href="forum.php?mod=forumdisplay&fid=38"><img src="static/image/common/forum.gif" alt="ԭ�����߷�����" /></a>
</td>
<td>
<h2><a href="forum.php?mod=forumdisplay&fid=38">ԭ�����߷�����</a></h2>
</td>
<td class="fl_i">
<span class="xi2">2</span><span class="xg1"> / 8</span></td>
<td class="fl_by">
<div>
<a href="forum.php?mod=redirect&tid=46&goto=lastpost#lastpost" class="xi2">��������</a> <cite>2014-6-9 07:36 <a href="home.php?mod=space&username=jaffer">jaffer</a></cite>
</div>
</td>
</tr>
<tr class="fl_row">
</tr>
</table>
</div>
</div>
</div>

<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>

<div id="online" class="bm oll">
<div class="bm_h">
<span class="o"><a href="forum.php?showoldetails=no#online" title="����/չ��"><img src="static/image/common/collapsed_no.gif" alt="����/չ��" /></a></span>
<h3>
<strong><a href="home.php?mod=space&do=friend&view=online&type=member">���߻�Ա</a></strong>
<span class="xs1">- <strong>1</strong> �����
- <strong>1</strong> ��Ա(<strong>0</strong> ����),
<strong>0</strong> λ�ο
- ���߼�¼�� <strong>23</strong> �� <strong>2014-6-8</strong>.</span>
</h3>
</div>
<dl id="onlinelist" class="bm_c">
<dt class="ptm pbm bbda"><img src="static/image/common/online_admin.gif" /> ����Ա       <img src="static/image/common/online_supermod.gif" /> ��������       <img src="static/image/common/online_moderator.gif" /> ����       <img src="static/image/common/online_member.gif" /> ��Ա       </dt>
<dd class="ptm pbm">
<ul class="cl">
<li title="ʱ��: 14:35">
<img src="static/image/common/online_member.gif" alt="icon" />
<a href="home.php?mod=space&uid=9">venidic</a>
</li>
</ul>
</dd>
</dl>
</div>
<div class="bm lk">
<div id="category_lk" class="bm_c ptm">
<ul class="m mbn cl"><li class="lk_logo mbm bbda cl"><img src="static/image/common/logo_88_31.gif" border="0" alt="�ٷ���̳" /><div class="lk_content z"><h5><a href="http://www.discuz.net" target="_blank">�ٷ���̳</a></h5><p>�ṩ���� Discuz! ��Ʒ���š����������뼼������</p></div></li></ul>
<ul class="x mbm cl">
<li><a href="http://www.comsenz.com" target="_blank" title="Comsenz">Comsenz</a></li><li><a href="http://www.manyou.com/" target="_blank" title="����ƽ̨">����ƽ̨</a></li><li><a href="http://www.yeswan.com" target="_blank" title="Yeswan">Yeswan</a></li><li><a href="http://www.verydz.com/" target="_blank" title="ר������">ר������</a></li></ul>
</div>
</div>

</div>

</div>
<script>fixed_top_nv();</script>	</div>
<div id="ft" class="wp cl">
<div id="flk" class="y">
<p>
<a href="archiver/" >Archiver</a><span class="pipe">|</span><a href="forum.php?mobile=yes" >�ֻ���</a><span class="pipe">|</span><a href="forum.php?mod=misc&action=showdarkroom" >С����</a><span class="pipe">|</span><strong><a href="http://www.comsenz.com/" target="_blank">Comsenz Inc.</a></strong>
 <a href="http://discuz.qq.com/service/security" target="_blank" title="��ˮǽ������վԶ���ֺ�"><img src="static/image/common/security.png"></a></p>
<p class="xs0">
GMT+8, 2014-7-7 14:51<span id="debuginfo">
, Processed in 0.035802 second(s), 15 queries
.
</span>
</p>
</div>
<div id="frt">
<p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>X3.1</em></p>
<p class="xs0">&copy; 2001-2013 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p>
</div></div>
<script src="home.php?mod=misc&ac=sendmail&rand=1404715881" type="text/javascript"></script>
<div id="scrolltop">
<span hidefocus="true"><a title="���ض���" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>���ض���</b></a></span>
</div>
<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
			<div id="discuz_tips" style="display:none;"></div>
			<script type="text/javascript">
				var tipsinfo = '34436513|X3.1|0.6||0||0|7|1404715881|046e87ac2210a69f588ee25e0d5e20c7|2';
			</script>
			<script src="http://discuz.gtimg.cn/cloud/scripts/discuz_tips.js?v=1" type="text/javascript" charset="UTF-8"></script></body>
</html>

有了這些,我想進一步處理就非常好了。但是如果你想更近一步,我想原始資料包肯定是一個重點研究的方向。