求一个小偷程序做好了加50分

来源:百度知道 编辑:UC知道 时间:2024/06/07 13:39:41
求一个小偷程序做好了加50分
联系我QQ 258905420 谢谢了

我这里有,代码很简洁,你可以参考一下:

XMLHTTP远程抓取网页上的所有图片的实例 http://fnsword.com/Article.aspx?Type=2&ArtID=2

<%
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