咿思舞论坛〖软件技术〗『系统评测』 → 常见ASP组件下载和使用方法 Tags: asp组件 , asp探针


  共有346人关注过本帖树形打印

主题:常见ASP组件下载和使用方法 Tags: asp组件 , asp探针

美女呀,离线,留言给我吧!
admin
  1楼 个性首页 | 博客 | QQ | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:管理员 帖子:853 积分:1008523 威望:1000000 精华:12 注册:2003/12/30 16:34:32
常见ASP组件下载和使用方法 Tags: asp组件 , asp探针  发帖心情 Post By:2010/7/12 12:19:22

原来的v1.3探针上列了不少ASP组件,但大多其实并不常用。这次稍加改进,做了v1.4版,再精简了一些。在此简单的对这些常用组件做个介绍,包括官方主页,下载地址、使用方法和一些个人观点等。

上传类asp组件:
SoftArtisans.FileUp(SA-FileUp 文件上传)
下载地址:http://down.itlearner.com/soft/2314.shtml
使用方法:http://www.itlearner.com/Article/2006/3164.shtml
我使用过,挺好用的上传组件。

Persits.Upload(ASPUpload 文件上传)
官方主页:http://www.aspupload.com
下载地址:http://down.itlearner.com/soft/87.shtml

LyfUpload.UploadFile(刘云峰的文件上传组件)
MS很有名的组件,我也用过。
下载地址:http://down.itlearner.com/soft/2326.shtml
使用方法:http://www.itlearner.com/article/2006/3211.shtml

图像处理类asp组件

我本人最常用的是Persits.Jpeg(ASPJPEG:图像读写组件),功能挺强大的。
下载地址:http://down.itlearner.com/soft/59.shtml
使用方法:http://www.itlearner.com/article/2006/3297.shtml

另一个SoftArtisans.ImageGen(SA 的图像读写组件),没接触过。
官方主页:http://www.softartisans.com/imgwriter.html


邮件发送类asp组件

国内接触最多的应该还是Jmail吧,JMail.SmtpMail(Dimac JMail 邮件收发)。
下载地址:http://down.itlearner.com/soft/1147.shtml。
使用说明:http://www.itlearner.com/Article/2005/1000.shtml
ajiang翻译的JMail(4.3)中文手册:http://down.itlearner.com/soft/1148.shtml

CDONTS.NewMail(虚拟 SMTP 发信),这个是微软自带的,需要安装IIS中的SMTP服务。
使用说明:http://www.itlearner.com/article/2008/4177.shtml

Persits.MailSender(ASPemail 发信),官方主页:http://www.aspemail.com/。
大公司出品,没用过,应该是不错的。

<% Function googleColor(value, random) Dim colorArray colorArray = Split(value, ",") googleColor = colorArray(random Mod (UBound(colorArray) + 1)) End Function Function googleScreenRes() Dim screenRes, delimiter, resArray screenRes = Request.ServerVariables("HTTP_UA_PIXELS") delimiter = "x" If IsEmpty(screenRes) Then screenRes = Request.ServerVariables("HTTP_X_UP_DEVCAP_SCREENPIXELS") delimiter = "," End If If IsEmpty(screenRes) Then screenRes = Request.ServerVariables("HTTP_X_JPHONE_DISPLAY") delimiter = "*" End If resArray = Split(screenRes, delimiter, 2) If (UBound(resArray) + 1) = 2 Then googleScreenRes = "&u_w=" & resArray(0) & "&u_h=" & resArray(1) End If End Function Function googleMuid() Dim muid muid = Request.ServerVariables("HTTP_X_DCMGUID") If Not IsEmpty(muid) Then googleMuid = "&muid=" & muid End If muid = Request.ServerVariables("HTTP_X_UP_SUBNO") If Not IsEmpty(muid) Then googleMuid = "&muid=" & muid End If muid = Request.ServerVariables("HTTP_X_JPHONE_UID") If Not IsEmpty(muid) Then googleMuid = "&muid=" & muid End If muid = Request.ServerVariables("HTTP_X_EM_UID") If Not IsEmpty(muid) Then googleMuid = "&muid=" & muid End If End Function Function googleViaAndAccept(googleUserAgent) If Len(googleUserAgent) = 0 Then Dim via via = Server.URLEncode(Request.ServerVariables("HTTP_VIA")) If Not IsEmpty(via) Then googleViaAndAccept = "&via=" & via End If Dim accept accept = Server.URLEncode(Request.ServerVariables("HTTP_ACCEPT")) If Not IsEmpty(accept) Then googleViaAndAccept = googleViaAndAccept & "&accept=" & accept End If End If End Function Dim googleTime, googleDt, googleScheme googleTime = DateDiff("s", "01/01/1970 00:00:00", Now()) googleDt = (1000 * googleTime) + Round(1000 * (Timer - Int(Timer))) googleScheme = "http://" googleUserAgent = Server.URLEncode(Request.ServerVariables("HTTP_USER_AGENT")) If StrComp(Request.ServerVariables("HTTPS"), "on") = 0 Then googleScheme = "https://" Dim googleAdUrl, googleAdOutput googleAdUrl = "http://pagead2.googlesyndication.com/pagead/ads?" &_ "ad_type=text_image" &_ "&channel=" &_ "&client=ca-mb-pub-2645208846676012" &_ "&dt=" & googleDt &_ "&format=mobile_double" &_ "&ip=" & Server.URLEncode(Request.ServerVariables("REMOTE_ADDR")) &_ "&markup=xhtml" &_ "&oe=utf8" &_ "&output=xhtml" &_ "&ref=" & Server.URLEncode(Request.ServerVariables("HTTP_REFERER")) &_ "&url=" & Server.URLEncode(googleScheme & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("URL")) &_ "&useragent=" & googleUserAgent &_ googleScreenRes() &_ googleMuid() &_ googleViaAndAccept(googleUserAgent) Set googleAdOutput = Server.CreateObject("MSXML2.ServerXMLHTTP") googleAdOutput.Open "GET", googleAdUrl, false googleAdOutput.Send Response.Write(googleAdOutput.responseText) %> 支持(0中立(0反对(0单帖管理 | 引用 | 回复 回到顶部

返回版面帖子列表

常见ASP组件下载和使用方法 Tags: asp组件 , asp探针








签名