ASP 웹 사이트 정적 코드 HTML, 특정 기능을 테스트 할 수 있습니다.
기능 htmll (Mulu, Htmlmulu, Filename, Filefrom, Htmla, Htmlb, Htmlc, Htmld)
mulu =이면 mulu =/
htmlmulu =이면 htmlmulu =/
mulu = 교체 (sysrootdir & mulu, //, /)
htmlmulu = replace (sysrootdir & htmlmulu, //, /)
filepath = server.mappath (mulu) 및/& filename
do_url = http : //
do_url = do_url & request.servervaribles (server_name) & htmlmulu & filefrom
do_url = do_url &? & htmlb && d htmlc & htmld
strurl = do_url
set objxmlhttp = server.createobject (microsoft.xmlhttp)
objxmlhttp.open get, strurl, false
objxmlhttp.send ()
binfiledata = objxmlhttp.responsebody
objxmlhttp = 아무것도 설정하지 않습니다
set objadostream = server.createobject (adodb. & stream)
objadostream.type = 1
objadostream.open ()
objadostream.write (binfiledata)
objadostream.savetofile FilePath, 2
objadostream.close ()
objadostream = 아무것도 설정하지 않습니다
엔드 기능