注册 登录
编程论坛 ASP技术论坛

godaddy windows空间没有写入权限吗?

chamders 发布于 2017-04-01 14:35, 1959 次点击
<%
Set FSO=Server.CreateObject("Scripting.FileSystemObject")
Set MyFile=FSO.OpenTextFile(Server.MapPath("data.txt"),8)
MyFile.WriteLine("写入内容")
Set MyFile=Nothing
Set FSO=Nothing
%>

以上代码在本地可以执行,godaddy上无法运行,提示The server encountered an internal error or misconfiguration and was unable to complete your request.
读写权限都设置过了,不知道问题在哪里
0 回复
1