欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

asp 網(wǎng)站靜態(tài)化函數(shù)代碼html

 更新時間:2009年09月03日 19:25:55   作者:  
asp 網(wǎng)站靜態(tài)化代碼html,具體的功能大家可以測試下。
復(fù)制代碼 代碼如下:

Function htmll(mulu,htmlmulu,FileName,filefrom,htmla,htmlb,htmlc,htmld)
if mulu="" then mulu="/"
if htmlmulu="" then htmlmulu="/"
mulu=replace(SysRootDir&mulu, "http://", "/")
htmlmulu=replace(SysRootDir&htmlmulu, "http://", "/")
FilePath=Server.MapPath(mulu)&"\"&FileName
Do_Url="http://"
Do_Url=Do_Url&Request.ServerVariables("server_name")&htmlmulu&filefrom
Do_Url=Do_Url&"?"&htmla&htmlb&"&"&htmlc&htmld
strUrl=Do_Url
set objXmlHttp=Server.createObject("Microsoft.XMLHTTP")
objXmlHttp.open "GET",strUrl,false
objXmlHttp.send()
binFileData=objXmlHttp.responseBody
Set objXmlHttp=Nothing
set objAdoStream=Server.CreateObject("Adodb." & "Stream")
objAdoStream.Type=1
objAdoStream.Open()
objAdoStream.Write(binFileData)
objAdoStream.SaveToFile FilePath,2
objAdoStream.Close()
set objAdoStream=nothing
End Function

相關(guān)文章

最新評論