XMLHTTP或ServerXMLHTTP在没有http的情况下工作?

时间:2018-10-02 10:08:28

标签: http xmlhttprequest

我想打开一个网页,然后分割标签,而不用'www'而不是'http'开头

see image below

<%
  dim objXMLHTTP

          ' holds a warning when the page seems to be invalid


  URL = Request.form("URL")
  if ( URL = "" ) then
    **'URL = "www.elmundo.es"**
  URL =  Request.QueryString("url")

  end if 

  Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
  objXMLHTTP.Open "GET", URL, false
  objXMLHTTP.Send

%>

0 个答案:

没有答案