用asp檢查一個域名的備案狀態的例子!- 虛擬主機,虛擬主機域名注冊-常見問題,虛擬主機,網頁制作,域名注冊,主機,企業郵局,主頁空間,個人主頁,網絡實名,主機托管,網站建設,域名">

9.1成人看片-久久人妻少妇嫩草av蜜桃-国产在线观看免费视频软件-黄色正能量网站-国产 中文 字幕 日韩 在线-无码人妻一区二区三区在线

  • 購物車  0

    我的購物車

    0 件商品,共計 0
    去購物車結算
  • 最新公告 

    未讀消息 :  忽略

    查看全部

  • 常見問題
  • 有問必答
  • 網站備案

歡迎您來到禾城數碼,開始互聯網之旅!

用asp檢查一個域名的備案狀態的例子!

<%
'程序功能,自動到信產部網站核對一個域名的備案情況,如果備案成功,返回備案編號。

ICPCheckURL=1
Dim DataSet_ICP()

function GetsRoot(ByVal whichDomain)
 whichDomain=Lcase(whichDomain)
 Exts=".bj.cn,.sh.cn,.tj.cn,.cq.cn,.he.cn,.sx.cn,.nm.cn,.ln.cn,.jl.cn,.hl.cn,.js.cn,.zj.cn,.ah.cn,.fj.cn,.jx.cn,.sd.cn,.ha.cn,.hb.cn,.hn.cn,.gd.cn,.gx.cn,.hi.cn,."
Exts=Exts&"sc.cn,.gz.cn,.yn.cn,.xz.cn,.sn.cn,.gs.cn,.qh.cn,.nx.cn,.xj.cn,.tw.cn,.hk.cn,.mo.cn,"
 Exts= Exts & ".ac.cn,.com.cn,.net.cn,.org.cn,.gov.cn,.edu.cn,.com,.net,.org,.biz,.cn,.info,.tv,.cc,.tw,.name,.ws,.in,.hk,.tw,.us,.au,.ac,.ca"
 AllTop=split(Exts,",")
 if len(whichDomain)>3 then
  for z=0 to Ubound(AllTop)
   extLen=len(AllTop(z))
   if right(whichDomain,extLen)=AllTop(z) then
    prefix=left(whichDomain,len(whichDomain)-extLen)
    dotPos=inStrRev(prefix,".")
    if dotPos>0 then
     whichDomain=mid(prefix,dotPos+1) & AllTop(z)
    end if
    exit for
   end if
  next
 end if
 GetsRoot=whichDomain
end function


function getCmd(strM)
 strM=lcase(strM)
 if inStr(strM," ")>0 then
  getCmd=left(strM,inStr(strM," ")-1)
 else
  getCmd=strM
 end if
end function

Function bstr(vIn)

 Dim strReturn,iii,ThisCharCode,innerCode,Hight8,Low8,NextCharCode
 strReturn = ""
 
 For iii = 1 To LenB(vIn)
  ThisCharCode = AscB(MidB(vIn,iii,1))
  If ThisCharCode < &H80 Then
   strReturn = strReturn & Chr(ThisCharCode)
  Else
   NextCharCode = AscB(MidB(vIn,iii+1,1))
   strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
   iii = iii + 1
  End If
 Next
 bstr = strReturn  
End Function

Sub tinyFitler(someMes)
 ReDim Preserve DataSet_ICP(0)
 blDrop=true
 blN=false
 PreChar=""
 PreCmd=""
 blInTd=false
 intTB=0
 intTR=0
 intTD=0
 blInTd=false
 infos=""

 for iii=1 to len(someMes)
  Schar=mid(someMes,iii,1)
  if Schar="<" then
  blDrop=true
  lastCmd=""
  blN=false
  elseif Schar=">" then
  blDrop=false '某個命令完成
  lastCmd=getCmd(lastCmd)
  if blN then
    if lastCmd="a" then
     if blInTd then infos=infos & ","
    end if
    if lastCmd="td" then
     blInTD=false
     DataSet_ICP(intTR)=DataSet_ICP(intTR) & infos & "`"
     infos=""
    end if
  else
    if lastCmd="table" then
     intTB=intTB+1
      if intTB>1 then
       Exit Sub '不用處理余下的表格
      end if
    end if
    if lastCmd="tr" then
     intTR=intTR+1
     intTD=0
     blInTD=false
     ReDim Preserve DataSet_ICP(intTR)
    end if
 
    if lastCmd="td" then
     blInTD=true
     intTD=intTD+1
    end if
    
  end if

  elseif Schar="/" and PreChar="<" then
  blN=true
  else
   if not blDrop then
    if blInTD then infos=infos & Schar
   else
    lastCmd=lastCmd & Schar
   end if
  end if
  PreChar=Schar
 next

end Sub
'程序設計:西部數碼(http://www.west263.com )專業提供虛擬主機、域名注冊

Function GetICP(ByType,textvalue)
 on error resume next

 if ByType="No" then
  Gtype=8
 else
  Gtype=2
 end if
'---type=6根據url查詢(URL);type=2,根據域名查詢(DO),type=8,根據icp編號來查(No)

 if ByType="URL" then
  Gtype=6
 end if

 Referer="http://www.miibeian.gov.cn/Search/WW_ICP_WhetherRecord_Select.jsp";
 if ICPCheckURL="1" then
  url="http://211.94.161.10/Search/WW_ICP_WhetherRecord_Search.jsp?selectid="; & Gtype & "&textfield=" & textvalue
 elseif ICPCheckURL="2" then
  url="http://www.miibeian.gov.cn/Search/WW_ICP_WhetherRecord_Search.jsp?selectid="; & Gtype & "&textfield=" & textvalue
 end if


Set Retrieval = Server.CreateObject("Microsoft.XMLHTTP")
With Retrieval
.Open "Post", url, false
   .setRequestHeader "Referer",Referer
.Send
   GetICP =.ResponseBody
   End With
Set Retrieval = Nothing
 GetICP=bstr(GetICP)
End Function


'如果要檢查,必須先LoadICP
Function LoadICP(BYWHICH,GIVE)
 RetCode=GetICP(BYWHICH,GIVE)
 if isNull(RetCode) then
  LoadICP=false
 else
  Call tinyFitler(RetCode)
  LoadICP=true
 end if
end Function

Function GetNo()
 RRsets=Ubound(DataSet_ICP)
 if RRsets=0 then
  GetNo="ERROR"
 end if
 if RRsets=1 then
  GetNo="NONE"
 end if
 if RRsets>1 then
  GetNo=split(DataSet_ICP(2),"`")(3)
 end if 
end Function


ckbind="要檢查的域名.com"
 If LoadICP("DO",ckbind) Then
   IcpNO=GetNo()
   If IcpNo="NONE" Or IcpNo="ERROR" Then
    if LoadICP("URL",ckbind) then
     IcpNO=GetNo() 
    end if
   End If 'GetsRoot


   If IcpNo="NONE" Or IcpNo="ERROR" Then
    if LoadICP("DO",GetsRoot(ckbind)) then
     IcpNO=GetNo() 
    end if
   End If

   If IcpNo="NONE" Or IcpNo="ERROR" Then
    if LoadICP("URL",GetsRoot(ckbind)) then
     IcpNO=GetNo() 
    end if
   End If
  
   if IcpNo="NONE" or IcpNo="ERROR" then
   respnose.write  "該域名還未備案成功!"
   else
   respnose.write  "該域名已經備案成功!備案編號是:"&IcpNO
   end if

 End If


%>

<% '程序功能,自動到信產部網站核對一個域名的備案情況,如果備案成功,返回備案編號。 ICPCheckURL=1 Dim DataSet_ICP() function GetsRoot(ByVal whichDomain) whichDomain=Lcase(whichDomain) Exts=".bj.cn,.sh.cn,.tj.cn,.cq.cn,.he.cn,.sx.cn,.nm.cn,.ln.cn,.jl.cn,.hl.cn,.js.cn,.zj.cn,.ah.cn,.fj.cn,.jx.cn,.sd.cn,.ha.cn,.hb.cn,.hn.cn,.gd.cn,.gx.cn,.hi.cn,." Exts=Exts&"sc.cn,.gz.cn,.yn.cn,.xz.cn,.sn.cn,.gs.cn,.qh.cn,.nx.cn,.xj.cn,.tw.cn,.hk.cn,.mo.cn," Exts= Exts & ".ac.cn,.com.cn,.net.cn,.org.cn,.gov.cn,.edu.cn,.com,.net,.org,.biz,.cn,.info,.tv,.cc,.tw,.name,.ws,.in,.hk,.tw,.us,.au,.ac,.ca" AllTop=split(Exts,",") if len(whichDomain)>3 then for z=0 to Ubound(AllTop) extLen=len(AllTop(z)) if right(whichDomain,extLen)=AllTop(z) then prefix=left(whichDomain,len(whichDomain)-extLen) dotPos=inStrRev(prefix,".") if dotPos>0 then whichDomain=mid(prefix,dotPos+1) & AllTop(z) end if exit for end if next end if GetsRoot=whichDomain end function function getCmd(strM) strM=lcase(strM) if inStr(strM," ")>0 then getCmd=left(strM,inStr(strM," ")-1) else getCmd=strM end if end function Function bstr(vIn) Dim strReturn,iii,ThisCharCode,innerCode,Hight8,Low8,NextCharCode strReturn = "" For iii = 1 To LenB(vIn) ThisCharCode = AscB(MidB(vIn,iii,1)) If ThisCharCode < &H80 Then strReturn = strReturn & Chr(ThisCharCode) Else NextCharCode = AscB(MidB(vIn,iii+1,1)) strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode)) iii = iii + 1 End If Next bstr = strReturn End Function Sub tinyFitler(someMes) ReDim Preserve DataSet_ICP(0) blDrop=true blN=false PreChar="" PreCmd="" blInTd=false intTB=0 intTR=0 intTD=0 blInTd=false infos="" for iii=1 to len(someMes) Schar=mid(someMes,iii,1) if Schar="<" then blDrop=true lastCmd="" blN=false elseif Schar=">" then blDrop=false '某個命令完成 lastCmd=getCmd(lastCmd) if blN then if lastCmd="a" then if blInTd then infos=infos & "," end if if lastCmd="td" then blInTD=false DataSet_ICP(intTR)=DataSet_ICP(intTR) & infos & "`" infos="" end if else if lastCmd="table" then intTB=intTB+1 if intTB>1 then Exit Sub '不用處理余下的表格 end if end if if lastCmd="tr" then intTR=intTR+1 intTD=0 blInTD=false ReDim Preserve DataSet_ICP(intTR) end if if lastCmd="td" then blInTD=true intTD=intTD+1 end if end if elseif Schar="/" and PreChar="<" then blN=true else if not blDrop then if blInTD then infos=infos & Schar else lastCmd=lastCmd & Schar end if end if PreChar=Schar next end Sub '程序設計:西部數碼(http://www.west263.com )專業提供虛擬主機、域名注冊 Function GetICP(ByType,textValue) on error resume next if ByType="No" then Gtype=8 else Gtype=2 end if '---type=6根據url查詢(URL);type=2,根據域名查詢(DO),type=8,根據icp編號來查(No) if ByType="URL" then Gtype=6 end if Referer="http://www.miibeian.gov.cn/Search/WW_ICP_WhetherRecord_Select.jsp" if ICPCheckURL="1" then url="http://211.94.161.10/Search/WW_ICP_WhetherRecord_Search.jsp?selectid=" & Gtype & "&textfield=" & textValue elseif ICPCheckURL="2" then url="http://www.miibeian.gov.cn/Search/WW_ICP_WhetherRecord_Search.jsp?selectid=" & Gtype & "&textfield=" & textValue end if Set Retrieval = Server.CreateObject("Microsoft.XMLHTTP") With Retrieval .Open "Post", url, false .setRequestHeader "Referer",Referer .Send GetICP =.ResponseBody End With Set Retrieval = Nothing GetICP=bstr(GetICP) End Function '如果要檢查,必須先LoadICP Function LoadICP(BYWHICH,GIVE) RetCode=GetICP(BYWHICH,GIVE) if isNull(RetCode) then LoadICP=false else Call tinyFitler(RetCode) LoadICP=true end if end Function Function GetNo() RRsets=Ubound(DataSet_ICP) if RRsets=0 then GetNo="ERROR" end if if RRsets=1 then GetNo="NONE" end if if RRsets>1 then GetNo=split(DataSet_ICP(2),"`")(3) end if end Function ckbind="要檢查的域名.com" If LoadICP("DO",ckbind) Then IcpNO=GetNo() If IcpNo="NONE" Or IcpNo="ERROR" Then if LoadICP("URL",ckbind) then IcpNO=GetNo() end if End If 'GetsRoot If IcpNo="NONE" Or IcpNo="ERROR" Then if LoadICP("DO",GetsRoot(ckbind)) then IcpNO=GetNo() end if End If If IcpNo="NONE" Or IcpNo="ERROR" Then if LoadICP("URL",GetsRoot(ckbind)) then IcpNO=GetNo() end if End If if IcpNo="NONE" or IcpNo="ERROR" then respnose.write "該域名還未備案成功!" else respnose.write "該域名已經備案成功!備案編號是:"&IcpNO end if End If %>

來源:
閱讀:8594
日期:2006/12/12

  >> 相關文章
 
Top

客服熱線

0573-80897175

精品人妻无码一区二区三区换脸| 无码少妇一区二区| 国产熟女高潮一区二区三区| 97人妻精品一区二区三区免费 | 无码人妻一区二区三区免费n鬼沢| 超级砰砰砰97免费观看最新一期| av鲁丝一区鲁丝二区鲁丝三区| 五月开心播播网| www青青草原| 日韩人妻无码一区二区三区| 日本少妇一级片| 被黑人猛躁10次高潮视频| 欧美老熟妇乱大交xxxxx| 26uuu国产| 中文写幕一区二区三区免费观成熟| 久久久久久九九九九九| 欧美日韩一区二区三区四区五区六区| 欧美激情 一区| 欧美激情 一区| 国产一区二区三区四区在线| 免费在线观看你懂的| 国产三级视频网站| 蜜桃传媒一区二区亚洲av| 国产精品欧美性爱| 国产88在线观看入口| | av黄色在线免费观看| 国产精品久久久久久亚洲av| 日本成人在线免费| 久草视频福利在线| 国产老熟女伦老熟妇露脸| av在线免费观看不卡| 图片区偷拍区小说区| 人妻体内射精一区二区三区| 国内精品免费视频| 国产国语性生话播放| 国产呦小j女精品视频| 免费人成又黄又爽又色| 手机av在线不卡| 91视频青青草| 亚洲色图欧美日韩| 成人小视频免费看| 国产性xxxx| 无遮挡aaaaa大片免费看| 国精产品一区二区三区| 老女人性淫交视频| 无码人妻aⅴ一区二区三区69岛| 国产主播av在线| 色综合久久久无码中文字幕波多| 国产一级黄色录像| 女人18毛片毛片毛片毛片区二| 韩国一区二区三区四区| 91麻豆精品久久毛片一级| 潘金莲一级淫片aaaaaaa| 久久只有这里有精品| 在线观看免费看片| 日日碰狠狠添天天爽| 亚洲天堂成人av| 极品人妻一区二区| 国产一级淫片久久久片a级| 欧类av怡春院| 亚洲AV无码久久精品国产一区| 中文字幕在线看高清电影| 中文字幕乱码在线人视频| 中文字幕人妻一区二区| 亚洲精品中文字幕在线播放| 丰满少妇被猛烈进入一区二区| 全黄一级裸体片| 91成年人网站| 中文字幕网站在线观看| 色一情一交一乱一区二区三区| 欧美xxxxx精品| 久久亚洲AV成人无码国产野外| 日批免费观看视频| 在线免费播放av| 国产中年熟女高潮大集合| 亚洲熟妇无码av| 夫妇露脸对白88av| 91麻豆精品成人一区二区| 欧美手机在线观看| 亚洲欧美日韩偷拍| 右手影院亚洲欧美| 手机av在线不卡| 好吊操视频这里只有精品| 亚洲中文字幕无码一区| 免费成人蒂法网站| 黑人と日本人の交わりビデオ| 免费观看一区二区三区| 疯狂揉花蒂控制高潮h| 色欲狠狠躁天天躁无码中文字幕| 色欲狠狠躁天天躁无码中文字幕| 久久视频一区二区三区| 美女网站视频在线观看| 极品蜜桃臀肥臀-x88av| 私库av在线播放| 国产麻豆xxxvideo实拍| 国产精品视频在| 精品国产乱码久久久久夜深人妻| 黄色av网址在线观看| 懂色av蜜桃av| 极品粉嫩小仙女高潮喷水久久 | 丰满人妻一区二区三区大胸| 熟妇人妻久久中文字幕| 免费精品在线视频| 免费看黄色的视频| 风韵丰满熟妇啪啪区老熟熟女| 熟女高潮一区二区三区| 国产成人精品一区二区三区在线观看| 亚洲av成人无码久久精品| 菠萝菠萝蜜网站| 岛国av免费观看| 日本成人在线免费观看| 国产一区二区精彩视频| 成人在线观看免费高清| 风间由美一二三区av片| 女同性αv亚洲女同志| 黑人操日本美女| 欧美aaa级片| 美国一级黄色录像| 日韩黄色中文字幕| 怡红院一区二区三区| 无码h肉动漫在线观看| 免费黄色在线视频| 国产成人无码精品久久二区三| 在线观看免费视频黄| 黄页网站在线看| 人妻 丝袜美腿 中文字幕| 美女伦理水蜜桃4| 日本精品一二三区| 亚洲欧美日韩偷拍| 精品人妻无码一区二区三区| 国产精品高清无码在线观看| 精品无码一区二区三区| 无码少妇精品一区二区免费动态| 欧美精品欧美极品欧美激情| 日本护士做爰视频| 国产女主播喷水高潮网红在线| 中文天堂资源在线| 可以看的av网址| 蜜桃传媒一区二区亚洲| 黑人操日本美女| jlzzjizz在线播放观看| jizz日本在线播放| 亚洲av综合色区无码另类小说| brazzers精品成人一区| 亚洲av鲁丝一区二区三区| 亚洲婷婷在线观看| 永久免费看片直接| 91精彩刺激对白露脸偷拍| 极品魔鬼身材女神啪啪精品| aa片在线观看视频在线播放| 97在线观看视频免费| 日韩www视频| 日本女人黄色片| 亚洲色图日韩精品| 国精品无码人妻一区二区三区| 亚洲国产123| 3d动漫精品啪啪一区二区下载| a级黄色免费视频| 亚洲第一香蕉网| av2014天堂网| www.555国产精品免费| 麻豆天美蜜桃91| 欧美一区二区三区爽爽爽| 欧美亚洲色综久久精品国产| 成人免费毛片糖心| 精品无人区无码乱码毛片国产| 日本中文字幕有码| 国产精久久久久| 最新版天堂资源在线| 性活交片大全免费看| www.啪啪.com| 朝桐光av一区二区三区| 第四色在线视频| 亚洲制服丝袜在线播放| 免费的av网站| 无码一区二区三区在线| 亚洲图片另类小说| 国产一区二区三区视频播放| 国产福利视频网站| 丝袜美腿小色网| 亚洲色图欧美另类| 国产精品一级黄片| 精品日韩在线视频| 亚洲熟女一区二区三区| 中文字幕丰满乱子伦无码专区| 一级二级黄色片| 俄罗斯女人裸体性做爰| 91视频啊啊啊| 亚洲av无码国产精品麻豆天美| 国产真实乱在线更新| 一区二区视频观看| 草视频在线观看| 久久精品三级视频| 免费不卡的av| 国产suv精品一区二区68| 亚洲欧美综合视频| 亚洲欧美小视频| 2019男人天堂| 免费观看av网站|