网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > ASP技巧
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
本月文章推荐
.ASP中函数调用对参数的影响.
.错误80004005信息处理方法.
.用ASP生成ZT条型码.
.利用http组件实现多引擎搜索功能.
.session的用法具体解说.
.将ASP纪录集输出成n列的的表格形.
.ASP学习:urldecode 方法补遗.
.瞒天过海html文件技术一瞥.
.一条sql 语句搞定数据库分页.
.用鼠标控制滚动的菜单条!(JavaS.
.关于ASP,ASP.NET,VB.NET里的MD5加.
.两个获取http页面的c#函数.
.asp实现在web中显示电子表格数据.
.处理二进制数据.
.改善ASP性能和外观的技巧集锦(中.
.Windows 2003下不注册组件用ASP发.
.asp实现关键词获取(各搜索引擎,g.
.用ASP建立站内搜索.
.聊天室关键技术[用户断线]处理.
.remote script文档(转载自微软)(.

关于 aspsmartupload 注册问题

发表日期:2001-4-30


ASPSMARTUPLOAD : DOCUMENTATION
Setup Instructions
Last modified: August 1st, 1999
© 2000 Advantys. All rights reserved.

Overview
Configuration required
Stage 1 : Extract the downloaded file
Stage 2 : Install aspSmartUpload.dll
Stage 3 : Install aspSmartUploadUtil.dll
Stage 4 : Install samples

--------------------------------------------------------------------------------

Overview

The installation of aspSmartUpload can be broken down into four main stages :

- extract the downloaded file
- saving the aspSmartUpload.dll file on the NT server
- add the aspSmartUploadUtil.dll fils in the NT server Path
- install the samples

These four stages are fully described below.


--------------------------------------------------------------------------------

Configuration required

Server :
- 300Ko of free disk space
- Windows NT 4 Service pack 3+, Microsoft IIS 4
or Windows 95+, Personal Web Server, ASP
or Windows 2000

For Microsoft IIS 3 users :
+ VB5 Runtime
+ asp.dll (version 1.0b+) : http://www.microsoft.com/office/intranet/modules/asp411s3.asp

Browser :
Your browser must be RFC 1867-compliant to be able to upload files.
Netscape 3+ and Microsoft IE 3.02+ accept the RFC 1867.


--------------------------------------------------------------------------------

Stage 1 : Extract the downloaded file

All the aspSmartUpload files are supplied in the zipped file, aspSmartUpload.zip.
Extract aspSmartUpload.zip to a temporary directory, making sure the directory structure remains intact.
If, for example, you extract the file to \temp, you should see the following :




--------------------------------------------------------------------------------

Stage 2 : Install aspSmartUpload.dll

You have to register aspSmartUpload.dll on your server. The dll can be registered by using either
Regsvr32.exe OR Microsoft Transaction Server (MTS).

1st Solution: Using RegSVR32
Copy aspSmartUpload.dll into a directory on the NT server (e.g. c:\mydir).
Save the component using the commands :
REGSVR32.EXE c:\mydir\aspSmartUpload.dll (From DOS or the Start/Run prompt)

2nd Solution: Using Transaction Server
Select the NT server on which you wish to install aspSmartUpload.
Create a new batch.
In the component folder, create a new component called aspSmartUpload.
Paste aspSmartUpload.dll to the Transaction Server to save it.


--------------------------------------------------------------------------------

Stage 3 : Install aspSmartUploadUtil.dll

The objective is to enable the Operating System to access the aspSmartUploadUtil.dll file.

There is two ways to archieve this :
- Copy aspSmartUploadUtil.dll in the c:\winnt\system32 directory. That way you don't have to update the
PATH propertie.
- Copy aspSmartUploadUtil.dll into a directory on the NT server (e.g. c:\mydir).
Add the component directory in the PATH using the commands :
PATH=%PATH%;c:\mydir (From DOS)


--------------------------------------------------------------------------------

Stage 4 : Install samples

Installation
The ASP application must be installed in an ASP-script-enabled web directory.

If your site has the following structure :
\inetpub
\inetpub\scripts
\inetpub\wwwroot

Copy the
\temp\aspSmartUpload\MyInetpub\scripts\aspSmartUpload directory
to the
\inetpub\scripts directory on your server.
Copy the
\temp\aspSmartUpload\MyInetpub\wwwroot\aspSmartUpload directory
to the
\inetpub\wwwroot directory on your server.

Test
Using your browser, enter the following addresses :
http://your_web_server/aspSmartUpload/default.htm



Overview

It is possible to increase the level of security by using specific properties directly in the server's
registry base. That way, an ISP can define his own security parameters (maximum file size, access
authorization limited to virtual directories, etc). The developers cannot modifiy the ISP parameters
because the component uses in priority the security properties defined in the registry base.


--------------------------------------------------------------------------------

The Registry case

All the modifiable values in the Registry must be located under the following key:

                HKEY_LOCAL_MACHINE\SOFTWARE\Advantys\aspSmartUpload

Use the REGEDIT command to add this key and the data and their chain values that you can select in the
list below.
All the following data are the string type. If you use the REGEDT32 command the data must be the REG_SZ
type.


--------------------------------------------------------------------------------

The Registry data

The following properties can be an entry in the Registry.
The component will only use their value if they are felt in.

TotalMaxFileSize Maximum allowed size of all files to be uploaded.
MaxFileSize Maximum allowed size of one file to be uploaded.
AllowedFilesList Contains the upload authorized file extensions list.
DeniedFilesList Contains the upload denied file extensions list.
DenyPhysicalPath Prevents file saving in directories other than virtual directories.
上一篇:Flash和Asp数据库的结合应用 人气:12221
下一篇:利用XML不离开页面刷新数据 人气:10934
浏览全部的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐