创建你的第一个ZeroASP程序。
1.7.0版本核心基础通用类等。
1.7.0版本核心基础通用类等。
1.7.0版本具备多种数据库的数据解决方案。
1.7.0版本包括GET,POST,数据流等等客户端数据。
1.7.0版本支持原生表单,AJAX和Flash组件上传。
1.7.0版本具备多种时间处理方法。
1.7.0版本支持多种加密解密解决方案。
1.7.0版本不仅适用于上传支持,还适用于远程请求支持。
1.7.0版本API请求核心功能。
1.7.0版本读写JSON数据,减少手动拼接带来的错误。
1.7.0版本读取XML数据和生成XML数据等方法。
1.7.0版本文件夹和文件操作的增删查改方法。
1.7.0版本方便开发者整合自己的功能方法。
1.7.0版本更令人满意的处理关联数据的解决方法。
1.7.0版本采用CDO组件发送,支持SSL协议。
1.7.0版本符合经典ASP3.0编程为基础的MVC。
1.7.0版本生成二维码,保存二维码,二维码图片转换。
1.7.0版本生成图片验证码,支持标准格式。
1.7.0版本采用Excel组件导入导出,支持标准格式。
1.7.0版本生成条形码,支持标准格式。
1.7.0版本支持阿里短信发送,支付宝支付核心等。
1.7.0版本支持微信消息,微信支付核心等。
基础模块,作为ZeroASP的基础通用型方法,大部分常规使用方法均可以在该模块找到。你可以免费将该模块使用于任何个人项目。但是不能去除模块信息。官方QQ群:199951855。
RegExTest():对指定的字符串执行一个正则表达式搜索,返回True或者False;
RegExTest([参数1=正则表达式],[参数2=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Pattern,Data Pattern = "ASP.*" Data = "ZeroASP" Zasp.Echo(Zasp.Base.RegExTest(Pattern,Data)) %>
RegExReplace():对指定的字符串执行一个正则表达式替换;
RegExReplace([参数1=正则表达式],[参数2=内容],[参数3=替换后内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Pattern,Data,RepData Pattern = "ASP.*" Data = "ZeroASP" Zasp.Echo(Zasp.Base.RegExReplace(Pattern,Data,RepData)) %>
RegExExecute():对指定的字符串执行一个正则表达式搜索,返回搜索内容;
RegExExecute([参数1=正则表达式],[参数2=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Pattern,Data Pattern = "ASP.*" Data = "ZeroASP" Zasp.Echo(Zasp.Base.RegExExecute(Pattern,Data)) %>
Tounicode():中文转Unicode/Native;
Tounicode([参数1=内容],[参数2(可选)=1/2])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data Data = "ZeroASP" Zasp.Echo(Zasp.Base.Tounicode(Data,1)) %>
Unicodeto():Unicode/Native转中文;
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data Data = "\u005a\u0065\u0072\u006f\u0041\u0053\u0050" Zasp.Echo(Zasp.Base.Unicodeto(Data)) %>
Escape():字符编码;
Escape([参数1=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Zasp.Echo(Zasp.Encrypt.Escape("中国")) %>
UnEscape():字符解码;
UnEscape([参数1=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Zasp.Echo(Zasp.Encrypt.UnEscape("%u4E2D%u56FD")) %>
EnBase64():字符编码;
EnBase64([参数1=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Zasp.Echo(Zasp.Encrypt.EnBase64("中国")) %>
DeBase64():字符解码;
DeBase64([参数1=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Zasp.Echo(Zasp.Encrypt.DeBase64("5Lit5Zu9")) %>
URLEncode():URL编码;
URLEncode([参数1=内容],[参数2=原编码],[参数3=临时编码])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data,OldCode,NewCode Data = "ZeroASP" OldCode = 65001 NewCode = 936 Zasp.Echo(Zasp.Base.URLEncode(Data,OldCode,NewCode)) %>
URLDecode():URL解码;
URLDecode([参数1=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data Data = "%E7%BB%8F%E5%85%B8ASP" Zasp.Echo(Zasp.Base.URLDecode(Data)) %>
SortPara():数组排序1;
SortPara([参数1=内容],[参数2=内容长度],[参数3=连接符])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data Data = "service=query,partner=123,_input_charset=utf-8,trade_no=123,out_trade_no=222" Data = Split(Data,",") '上面方法等同下面方法 'Data = Array("service=query","partner=123","_input_charset=utf-8","trade_no=123","out_trade_no=222") Zasp.Echo(Zasp.Base.SortPara(Data,UBound(Data),"&")) %>
NewSortPara():数组排序2;
NewSortPara([参数1=内容],[参数2=连接符])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data Data = "service=query,partner=123,_input_charset=utf-8,trade_no=123,out_trade_no=222" Zasp.Echo(Zasp.Base.NewSortPara(Data,"&")) %>
GetSize():容量大小转换;
GetSize([参数1=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data Data = "1024" Zasp.Echo(Zasp.Base.GetSize(Data)) %>
GetImgCount():所有图片的地址获取,以|分割;
GetImgCount([参数1=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data Data = "<img src=""https://www.baidu.com/img/flexible/logo/pc/result.png""><div>这是您的第一个ZeroASP MVC页面</div><img src=""https://www.baidu.com/img/flexible/logo/pc/result.png"">" Zasp.Echo(Zasp.Base.GetImgCount(Data)) %>
RemoveHTML():清除所有HTML代码;
RemoveHTML([参数1=内容])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Data Data = "<div>这是您的第一个ZeroASP MVC页面</div>" Zasp.Echo(Zasp.Base.RemoveHTML(Data)) %>
Test():判断内容是否正确,返回True或者False;
Test([参数1=内容],[参数2(可选+自定义)=0/1/2/3/4/5/6/7/自定义正则])
<!--#include file="./ZeroASP/ZeroASP.asp"--> <% Dim Pattern,Data Pattern = "ASP.*" Data = "ZeroASP" Zasp.Echo(Zasp.Base.Test(Data,Pattern)) %>