%
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
'Tabela de Componentes disponíveis no seu servidor web
'Parte integrante da VirtuaStore Open 3.0
'Colaboração: Elizeu Alcantara - elizeu@onda.com.br / elizeu@cristaosite.com.br
'Colaboração: Henrique Metasupri - henrique@metasupri.com.br
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
%>
<%= Nome_da_sua_loja %> - Verificando componentes instalados no servidor
Informações
do Servidor do site <%= Nome_da_sua_loja %>
Verificando Componentes instalados no seu Servidor...
Disponível Somente para Servidores Web Windows
<%
inicio = Timer
%>
Nome
do Servidor:
<% = Request.ServerVariables("SERVER_NAME") %>
Nome do Script:
<% = Request.ServerVariables("SCRIPT_NAME") %>
Protocolo do Servidor:
<% = Request.ServerVariables("SERVER_PROTOCOL") %>
Pasta Local:
<% = Request.ServerVariables("PATH_INFO") %>
Endereço do Físico:
<% = Request.ServerVariables("PATH_TRANSLATED") %>
Referencia HTTP:// :
<% = Request.ServerVariables("HTTP_REFERER") %>
" target="_blank">
<% = Request.ServerVariables("SERVER_NAME") %>
|
Informações
do Sistema
Sistema:
<% = ScriptEngine %>
Versão:
<% =ScriptEngineMajorVersion() %>
.
<% =ScriptEngineMinorVersion() %>
Atualizado:
<% =ScriptEngineBuildVersion() %>
|
<%
'######### começa aki #########
Dim arrListaComponentes(48)
arrListaComponentes(0) = Array( "AB Mailer","ABMailer.Mailman" )
arrListaComponentes(1) = Array( "ABC Upload","ABCUpload4.XForm" )
arrListaComponentes(2) = Array( "ActiveFile","ActiveFile.Post" )
arrListaComponentes(3) = Array( "ADODB","ADODB.Connection" )
arrListaComponentes(4) = Array( "Adiscon SimpleMail","ADISCON.SimpleMail.1" )
arrListaComponentes(5) = Array( "ASP DNS", "AspDNS.Lookup" )
arrListaComponentes(6) = Array( "ASP HTTP","AspHTTP.Conn" )
arrListaComponentes(7) = Array( "ASP Image","AspImage.Image" )
arrListaComponentes(8) = Array( "ASP Mail","SMTPsvg.Mailer" )
arrListaComponentes(9) = Array( "ASP NNTP News", "AspNNTP.Conn" )
arrListaComponentes(10) = Array( "ASP POP 3", "POP3svg.Mailer" )
arrListaComponentes(11) = Array( "ASP Simple Upload","ASPSimpleUpload.Upload" )
arrListaComponentes(12) = Array( "ASP Smart Cache","aspSmartCache.SmartCache" )
arrListaComponentes(13) = Array( "ASP Smart Mail","aspSmartMail.SmartMail" )
arrListaComponentes(14) = Array( "ASP SmartUpload","aspSmartUpload.SmartUpload" )
arrListaComponentes(15) = Array( "ASP Tear","SOFTWING.ASPtear" )
arrListaComponentes(16) = Array( "ASP Thumbnailer","ASPThumbnailer.Thumbnail" )
arrListaComponentes(17) = Array( "ASP WhoIs","WhoIs2.WhoIs" )
arrListaComponentes(18) = Array( "ASPSoft NT Object","ASPSoft.NT" )
arrListaComponentes(19) = Array( "ASPSoft Upload","ASPSoft.Upload" )
arrListaComponentes(20) = Array( "CDO NTS","CDONTS.NewMail" )
arrListaComponentes(21) = Array( "Chestysoft Image","csImageFile.Manage" )
arrListaComponentes(22) = Array( "Chestysoft Upload","csASPUpload.Process" )
arrListaComponentes(23) = Array( "JMail Dimac","JMail.Message" )
arrListaComponentes(24) = Array( "DistinctSMTP","DistinctServerSmtp.SmtpCtrl" )
arrListaComponentes(25) = Array( "Dundas Mailer","Dundas.Mailer" )
arrListaComponentes(26) = Array( "Dundas Upload","Dundas.Upload.2" )
arrListaComponentes(27) = Array( "Dundas PieChartServer","Dundas.ChartServer.2")
arrListaComponentes(28) = Array( "Dundas 2D Chart", "Dundas.ChartServer2D.1")
arrListaComponentes(29) = Array( "Dundas 3D Chart", "Dundas.ChartServer")
arrListaComponentes(30) = Array( "Dynu Encrypt","Dynu.Encrypt" )
arrListaComponentes(31) = Array( "Dynu HTTP","Dynu.HTTP" )
arrListaComponentes(32) = Array( "Dynu Mail","Dynu.Email" )
arrListaComponentes(33) = Array( "Dynu Upload","Dynu.Upload" )
arrListaComponentes(34) = Array( "Dynu WhoIs","Dynu.Whois" )
arrListaComponentes(35) = Array( "Easy Mail","EasyMail.SMTP.5" )
arrListaComponentes(36) = Array( "File SystemObject","Scripting.FileSystemObject" )
arrListaComponentes(37) = Array( "Ticluse TeknologiHTTP","InteliSource.Online" )
arrListaComponentes(38) = Array( "Last Mod","LastMod.FileObj" )
arrListaComponentes(39) = Array( "Microsoft XML Engine","Microsoft.XMLDOM" )
arrListaComponentes(40) = Array( "Persits ASP JPEG","Persits.Jpeg" )
arrListaComponentes(41) = Array( "Persits ASPEmail","Persits.MailSender" )
arrListaComponentes(42) = Array( "Persits ASPEncrypt","Persits.CryptoManager" )
arrListaComponentes(43) = Array( "Persits File Upload","Persits.Upload.1" )
arrListaComponentes(44) = Array( "SMTP Mailer","SmtpMail.SmtpMail.1" )
arrListaComponentes(45) = Array( "Soft Artisans FileUpload","SoftArtisans.FileUp" )
arrListaComponentes(46) = Array( "Image Size", "ImgSize.Check" )
arrListaComponentes(47) = Array( "Microsoft XML HTTP", "Microsoft.XMLHTTP" )
arrListaComponentes(48) = Array( "AutoImageSize","UnitedBinary.AutoImageSize" )
' Rotina que verifica o componente do array é um objeto.
Function VerificaObjeto(pComponente)
Dim objComponente
On Error Resume Next
VerificaObjeto = False
Err.Clear
Set objComponente = Server.CreateObject(pComponente)
If Err = 0 Then VerificaObjeto = True
Set objComponente = Nothing
Err.Clear
End Function
'*** Verifica os instalados
Public Function VerificaComponentesInstalados()
Dim intCont, strTxt
Dim intIndex, strProv
intCont = 0
strTxt = ""
For intIndex = LBound(arrListaComponentes) To UBound(arrListaComponentes)
strProv = intIndex
If VerificaObjeto(arrListaComponentes(intIndex)(1)) Then
strTxt = strTxt & "| " & arrListaComponentes(intIndex)(0) & " | "
strTxt = strTxt & "" & arrListaComponentes(intIndex)(1) & " | "
strTxt = strTxt & "OK | "
intCont = intCont + 1
End If
strTxt = strTxt & "
"
Next
strTxt = strTxt & "
" & intCont & " componentes instalados de "
strTxt = strTxt & "" & UBound(arrListaComponentes) & " verificados no provedor.
"
VerificaComponentesInstalados = strTxt
End Function
'*** Verifica os nao instalados
Public Function VerificaComponentesNaoInstalados()
Dim intCont, strTxtno
Dim intIndex, strProv
intCont = 0
strTxtno = ""
For intIndex = LBound(arrListaComponentes) To UBound(arrListaComponentes)
strProv = intIndex
If Not VerificaObjeto(arrListaComponentes(intIndex)(1)) Then
strTxtno = strTxtno & "| " & arrListaComponentes(intIndex)(0) & " | "
strTxtno = strTxtno & "" & arrListaComponentes(intIndex)(1) & " | "
strTxtno = strTxtno & "Não Instalado | "
intCont = intCont + 1
End If
strTxtno = strTxtno & "
"
Next
strTxtno = strTxtno & "
"
VerificaComponentesNaoInstalados = strTxtno
End Function
Response.Write VerificaComponentesInstalados
Response.Write VerificaComponentesNaoInstalados
%>
Tempo
de Respota do Servidor Web:
<%
'... uma seqüência de comandos para medir a velocidade
response.write "Processado em " & FormatNumber( Timer - inicio, 2 ) & " segundos"
%>