asp

asp屏蔽指定地区禁止访问网站

aspasp屏蔽指定地区禁止访问网站

<% SysSitePingbi="True"  '屏蔽开关 If SysSitePingbi="True" then url="http://whois.pconline.com.cn/ip.jsp?ip="&request.ServerVariables(&q...

asp / 2023-08-21

asp获得当前文件的虚拟物理路径

aspasp获得当前文件的虚拟物理路径

<%=Server.MapPath("\")%>...

asp / 2023-07-31

asp文章内容自定义分页

aspasp文章内容自定义分页

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xm...

asp / 2023-07-30

asp过滤所有html标签

aspasp过滤所有html标签

Function RemoveHTML(strText)  Dim RegEx  Set RegEx = New RegExp  RegEx.Pattern = "<[^>]*>"  RegEx.Global = ...

asp / 2023-07-30

asp发送邮件代码(支持Jmail、Cdonts、Aspemail组件)

aspasp发送邮件代码(支持Jmail、Cdonts、Aspemail组

<% E_Server = "mail.1488.com" ''发件服务器 E_ServerUser = "joy@1488.com" ''登录用户名 E_ServerPass = "123456"...

asp / 2023-07-07

asp中response.write输出中文乱码的解决办法

aspasp中response.write输出中文乱码的解决办法

如果网页是基于UTF-8编码的,并且是网页是纯asp代码,请在代码第一行加入:<%@LANGUAGE="Vbscript" CODEPAGE="65001"%>如果网页是基于GB2312编码的,并且是网页是纯asp代码,请在代...

asp / 2023-07-05

asp正则表达式验证手机号

aspasp正则表达式验证手机号

<% Function IsMobile(str) Dim regEx Set regEx = New RegExp regEx.Pattern = "^1[3456789]\d{9}$" regEx.IgnoreCase = False IsMobile&nb...

asp / 2023-07-05

ASP操作数据库的函数库

aspASP操作数据库的函数库

<%'*====================================== '* 名称:useDb.asp '* 功能:数据库操作函数库 '* 作者:intereye '* 信箱:inteye@163.com '* 主页:http...

asp / 2023-06-25

asp从日期字段中单取年、月、日

aspasp从日期字段中单取年、月、日

年:<%=datepart("yyyy",rsnews("time"))%>月:<%=datepart("m",rsnews("time"))%>日:<%=datepart("d",rsnews("time"))%>...

asp / 2023-06-21

asp动态include文件的方法

aspasp动态include文件的方法

在实际工作中,我们在做asp编程开发的时候会偶尔遇到这样的情况:<% c=request("c") if c=1 then url="a.asp" else   url="b.asp" end if %&...

asp / 2023-06-18

共272条共28页10条/页«45678»
意见反馈