ΪʲôÓÃxmlÌá½»²»ÁË£¿
Private Sub Command1_Click()
Dim http As Object, q_post As String, User As String, Pass As String
Set http = CreateObject("Microsoft.XMLHTTP")
http.open "POST", "http://www.01xs.com/", False
http.setRequestHeader "Accept", "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, */*" '±íʾÎÒÃÇËùÓõÄä¯ÀÀÆ÷ÄܽÓÊܵÄContent-type
http.setRequestHeader "Referer", "http://www.01xs.com" 'µ±Ç°Ò³ÃæÊÇ´ÓÄǸöÒ³ÃæÁ´½ÓÀ´µÄ
http.setRequestHeader "Accept-Language", "zh-cn" 'ÓïÑÔ
http.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" '±íʾ¿Í»§¶ËÌá½»¸ø·þÎñÆ÷Îı¾ÄÚÈݵıàÂ뷽ʽÊÇURL±àÂ룬¼´³ýÁ˱ê×¼×Ö·ûÍ⣬ÿ×Ö½ÚÒÔË«×Ö½Ú16½øÖÆÇ°¼Ó¸ö¡°%¡±±íʾ
http.setRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; QQPinyin 689; TencentTraveler 4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727)" 'ÏÔʾ³ö±¾»úµÄÏà¹ØÏµÐÅÏ¢,ºÇºÇ,ÕâÊÇÎÒµÄÐÅÏ¢´ó¼Ò¿ÉÒÔÈ¥µô²»Ó÷¢ÕâÌõ
http.setRequestHeader "Host", "www.01xs.com" 'ËùÇëÇóµÄÖ÷»ú
http.setRequestHeader "Content-Length", "90" '±íʾÌá½»µÄÊý¾Ý×Ö½Ú´óÐ
Ïà¹ØÎÊ´ð£º
ÈçÌâ
ÎÒÕâѧÆÚÑ¡µÄ¿ÎÌâÊÇÕâ¸öµ«ÊDz»ÖªµÀ¸ÃÔõô׼±¸£¬µ¼Ê¦Ò²Ã»Ôõô˵Çå³þ£¬Ï£Íû¸÷λ´ïÈËÄÜÖ¸µãÒ»¶þ£¬Ð¡µÜÔÚÕâл¹ýÀ²£¡
ллÄã £¬ÎÒÏÖÔÚÒ²×Ô¼º¿´×ÊÁÏÕûÀíË¼Â·ÄØ£¬¾ßÌåµÄ»¹ÒªÒ»µãʱ¼ä¡£
ÒýÓÃ
˼·ÈçÏ£º
ʹÓà ......
´ÓÊý¾Ý¿âÖвéѯһÕűíµÄÊý¾Ý
select ²¿ÃÅ,ÐÕÃû from tb
ÈçºÎ²ÅÄÜÉú³ÉÏÂÃæµÄxml¸ñʽ
XML code:
<folder state="unchecked" label="È«²¿">
¡¡¡¡ <folder state="unchecked&qu ......
<XML>
<FLAG>1</FLAG>
<REASON></REASON>
<ADVERT><ADID>64</ADID><ADNAME>Ó¢»ÊÓéÀÖËÄ</ADNAME><ADCONTENT>ÄÚÈÝÒ»</ADCONTENT><ADT ......
ä¯ÀÀÆ÷IE6
ÔÚÒ»¸öÒ³ÃæÖÐÓÐÒ»¸öÁ¬½Ó£¬Á¬½ÓµÄÒ³ÃæÄÚÈÝÈçÏ£º
<%@ page contentType="text/xml; charset=UTF-8" language="java"%>
<?xml version="1.0" encoding=& ......
ÎÒÏÖÔÚÒª×öÒ»¸öÓÃc#×öµÄ£¬ÀûÓÃsocket´«ÊäXMLÎļþ£¬²¢½â¶ÁXMLÎļþ£¬Ö´ÐÐXMLÀïÃæµÄÏà¹Ø²Ù×÷Ö®ºó£¬°Ñ½á¹û¶¯Ì¬µØÐ´ÈëXMLÎļþÀÔÙ´«»ØÈ¥£¡×îºÃÄܸø¸ö°¸Àý¿´¿´£¬¼±¼±¼±°¡!!!
ллÁË£¡
Ôõô¸ö½âÎö·¨£¿
1¡¢.net Romti ......