You can use remote access to XML data, or HTML file data. It is usually also used to get index.asp Dynamic home page through HTTP to generate static home and other uses ...
Remote Grab collection of the most commonly used a function, oneself extrapolate bar
You can use remote access to XML data, or HTML file data. It is usually also used to get index.asp Dynamic home page through HTTP to generate static home and other uses ...
Arisisi Www.alixixi.com also has more tutorials, welcome to search learning.
<%
function gethttppage (URL)
Dim adxmlhttp
Set adxmlhttp = Server.CreateObject ("Microsoft.XMLHTTP")
Adxmlhttp.open "Get", Url,false
Adxmlhttp.send ()
If Adxmlhttp.readystate <> 4 then Exit function
Gethttppage = Bytes2bstr (adxmlhttp.responsebody)
Set adxmlhttp = Nothing
End Function
function Bytes2bstr (VIN)
Dim Bytesstream,stringreturn
Set Bytesstream = Server. CreateObject ("ADODB.stream")
Bytesstream.type = 2
Bytesstream.open
Bytesstream.writetext Vin
bytesstream.position = 0
Bytesstream.charset = "gb2312"
Bytesstream.position = 2
Stringreturn = Bytesstream.readtext
Bytesstream.close
Set Bytesstream = Nothing
Bytes2bstr = Stringreturn
End Function
%>