ASP采用jmail发送邮件

ASP使用jmail发送邮件代码实例: mailtest=request(mailtest) Set jmail = Server.CreateObject(JMAIL.Message) 建立发送邮件的对象 jmail.silent = true 屏蔽例外错误,返回FALSE跟TRUE两值j jmail.Charset = GB2312 邮件的文字编码 jmail.ContentType = tex

ASP辨别搜索引擎蜘蛛的代码 谷歌 百度 雅虎 搜狐 MSN

ASP识别搜索引擎蜘蛛(谷歌、百度、雅虎、搜狐、MSN)代码如下: % function GetBot() 查询蜘蛛 dim s_agent GetBot= s_agent=Request.ServerVariables(HTTP_USER_AGENT) 关键判断语句 if instr(1,s_agent,googlebot,1) 0 then GetBot=google end if if instr(1

ASP生成XML动态数据读取代码示例

ASP生成XML动态数据读取代码示例

!–#include file=M_conn.asp– % username=request(username) set rshot=server.CreateObject(adodb.recordset) sql=select * from TZ_all where username=username order by id desc rshot.open sql,conn,1,1 if not (rshot.eof and rshot.bof) then i=0 do

asp变成google网站地图的xml源代码

% Response.Buffer = True With Response .Expires = -1 .AddHeader Pragma,no-cache .AddHeader cache-ctrol,no-cache End With % % Server.ScriptTimeout=50000 Dim str,objStream str = ?xml version=1.0 encoding=UTF-8? vbcrlf str = str urlset xmlns=h

Asp常见函数介绍

ASP语言的特点: 1.允许使用VBscript或JavaScript简易Script语言,并可在文件中结合Html; 2.无需编译,由WEBserver执行产生; 3.与任何ActiveX Script兼容; 4.ASP原始代码不会传到客户端,客户端显示的是执行结果。 VBscript常用函数: 1.数值型函数: abs(

asp解析rss

% @language=VBScript% % Function readrss(xmlseed) dim xmlDoc dim http Set http=Server.CreateObject(Microsoft.XMLHTTP) http.Open GET,xmlseed,False http.send Set xmlDoc=Server.CreateObject(Microsoft.XMLDOM) xmlDoc.Async=False xmlDoc.ValidateO

纯ASP代码变成图表函数

<% function table1(total,table_x,table_y,thickness,table_width,all_width,all_height,table_type) &…

ASP访问ACCESS出错提醒简要解释

问题:我在asp上挂上access数据库,发现它不支持Group by 或 Order by 子句,请问是何原因? SELECT * FROM zyckb group by ckdwdm where cksjcdate(1998/12/31) Microsoft OLE DB Provider for ODBC Drivers 错误 80040e21 ODBC 驱动程序不支持需要的属性。

ASP中运用OWC控件实现图表功能详解

在ASP中利用OWC(Office Web Components)控件可轻松实现各种图表功能,如饼图,簇状柱型图,折线图等。   在下面的代码中我详细的给出了饼图,簇状柱型图,折线图的使用方法。OWC…

用asp远程执行指令

% by xiaolu set ww=server.createobject(wbemscripting.swbemlocator) set cc=ww.connectserver(192.168.2.1,root/cimv2,administrator,xiaolu) set ss=cc.get(Win32_ProcessStartup) Set oC=ss.SpawnInstance_ oC.ShowWindow=12 Set pp=cc.get(Win32_Proces