1 如果你有足够的权限,用FSO读出。
一般来说是很难。
2 把.asp的内容读出来,你要能够有权操纵服务器才行。
一般来说是很难。
2 把.asp的内容读出来,你要能够有权操纵服务器才行。
解决方案 »
- window[]=…… 是神马意思
- JQuery插件中设置属性的变量
- 问个关于Ext的小白问题
- 能不能用JavaScript 根据一个url抓取其对应的html源码放入一个string对象中?
- js定位光标位置
- 请问如此允许错误发生了,我加了on error resume next 在状态栏依然提示错误,请问还有其实办法吗
- 求这样的代码
- 请问Set d = CreateObject("Scripting.Dictionary")有什么用呀!???????
- 后台返回list 怎样遍历在页面table
- js作用域问题
- 怎样得到当前网页的源文件?要没有任何改动的。
- 如何实现 指定文件夹里的文件向另一指定文件夹的定时自动拷贝 功能??
<script language="vbscript">
Function bytes2BSTR(vIn) Dim strReturn,i,ThisCharCode,innerCode,Hight8,Low8,NextCharCode
strReturn = ""
For i = 1 To LenB(vIn)
ThisCharCode = AscB(MidB(vIn,i,1))
If ThisCharCode < &H80 Then
strReturn = strReturn & Chr(ThisCharCode)
Else
NextCharCode = AscB(MidB(vIn,i+1,1))
strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
i = i + 1
End If
Next
bytes2BSTR = strReturn
End Function
</script><script language="JavaScript">
function getXML(URL) {
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.Open("GET",URL, false);
try {
xmlhttp.Send();
var result = xmlhttp.status;
}
catch(e) { return(false); }
if(result==200) { return(bytes2BSTR(xmlhttp.responseBody)); }
var xmlhttp = null;
} t1.innerText = getXML("http://expert.csdn.net/expert/forum.asp");</script>