判断服务器支持不知道fso(无法确认服务器状态)
- 服务器
- 2022-12-19 11:05:45
- 19
本篇文章给大家谈谈判断服务器支持不知道fso,以及无法确认服务器状态对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。
本文目录一览:
- 1、此功能要求服务器支持文件系统对象(FSO),而你当前的服务器不支持
- 2、动易系统出现 FSO组件不可用,各种与FSO相关的功能都将出错!
- 3、如何判断服务器是否支持FOS
- 4、你的服务器不支持 FSO(Scripting.FileSystemObject)! 不能使用本功能
- 5、服务器后台无法上传图片,提示服务器故障
- 6、关于FSO问题,请教
此功能要求服务器支持文件系统对象(FSO),而你当前的服务器不支持
你买了ASP空间,并不支持FSO
但很多ASP的网站都需要支持FSO,因此运行出错
换个支持FSO的ASP空间吧
动易系统出现 FSO组件不可用,各种与FSO相关的功能都将出错!
请修改FSO(FileSystemObject)组件的名称
某些网站为了安全,将FSO组件的名称进行更改以达到禁用FSO的目的。如果你的网站是这样做的,请在此输入更改过的名称。
后台管理 网站信息配置 网站信息 网站选项
如何判断服务器是否支持FOS
%
sub discreteness
%
table border=0 width="95%" cellspacing=1 cellpadding=3 class=a2 align=center
tr class=a1
td width="57%" height="25" 组件名称/tdtd width="41%" height="25"支持及版本/td
/tr
%
Dim theInstalledObjects(17)
theInstalledObjects(0) = "MSWC.AdRotator"
theInstalledObjects(1) = "MSWC.BrowserType"
theInstalledObjects(2) = "MSWC.NextLink"
theInstalledObjects(3) = "MSWC.Tools"
theInstalledObjects(4) = "MSWC.Status"
theInstalledObjects(5) = "MSWC.Counters"
theInstalledObjects(6) = "MSWC.PermissionChecker"
theInstalledObjects(7) = "ADODB.Stream"
theInstalledObjects(8) = "adodb.connection"
theInstalledObjects(9) = "Scripting.FileSystemObject"
theInstalledObjects(10) = "SoftArtisans.FileUp"
theInstalledObjects(11) = "SoftArtisans.FileManager"
theInstalledObjects(12) = "JMail.Message"
theInstalledObjects(13) = "CDONTS.NewMail"
theInstalledObjects(14) = "Persits.MailSender"
theInstalledObjects(15) = "LyfUpload.UploadFile"
theInstalledObjects(16) = "Persits.Upload.1"
theInstalledObjects(17) = "w3.upload"
For i=0 to 17
Response.Write "TR class=a3TD " theInstalledObjects(i) "font color=888888 "
select case i
case 8
Response.Write "(ACCESS 数据库)"
case 9
Response.Write "(FSO 文本文件读写)"
case 10
Response.Write "(SA-FileUp 文件上传)"
case 11
Response.Write "(SA-FM 文件管理)"
case 12
Response.Write "(JMail 邮件发送)"
case 13
Response.Write "(WIN虚拟SMTP 发信)"
case 14
Response.Write "(ASPEmail 邮件发送)"
case 15
Response.Write "(LyfUpload 文件上传)"
case 16
Response.Write "(ASPUpload 文件上传)"
case 17
Response.Write "(w3 upload 文件上传)"
end select
Response.Write "/font/tdtd height=25"
If Not IsObjInstalled(theInstalledObjects(i)) Then
Response.Write "font color=redb×/b/font"
Else
Response.Write "b√/b " getver(theInstalledObjects(i)) ""
End If
Response.Write "/td/TR" vbCrLf
Next
%
/table
%
end sub''''''''''''''''''''''''''''''
Function IsObjInstalled(strClassString)
On Error Resume Next
IsObjInstalled = False
Err = 0
Dim xTestObj
Set xTestObj = Server.CreateObject(strClassString)
If 0 = Err Then IsObjInstalled = True
Set xTestObj = Nothing
Err = 0
End Function
''''''''''''''''''''''''''''''
Function getver(Classstr)
On Error Resume Next
getver=""
Err = 0
Dim xTestObj
Set xTestObj = Server.CreateObject(Classstr)
If 0 = Err Then getver=xtestobj.version
Set xTestObj = Nothing
Err = 0
End Function
discreteness
%
你的服务器不支持 FSO(Scripting.FileSystemObject)! 不能使用本功能
问你朋友 要FTP 的账号。。试试换。、
或者换个好点的空间。。。
服务器后台无法上传图片,提示服务器故障
1.清空浏览器的缓冲试试看,只是你指定的saveUrl不正确,插入到编辑区域后找不到图片。
用斜线开头的URL看看,比如:saveUrl = "/admin_manage/editor/attached/";
2.请检查文件路径是否正确。(本地路径和网络服务器的根目录对应)
3.服务器是否支持FSO。(一般都支持)
4.服务器文件夹权限。(一般都支持)
关于FSO问题,请教
建议你首先在你的机器先测试一下是否可以上传文件,如果你本机测试正常那说明服务商出问题了,,不过我觉得fso一般都会开放的,,,
判断服务器支持不知道fso的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于无法确认服务器状态、判断服务器支持不知道fso的信息别忘了在本站进行查找喔。
本文由admin于2022-12-19发表在靑年PHP官网,如有疑问,请联系我们。
本文链接:http://qnphp.com/post/70121.html