ASP Alexa Query Program code

'****************************** '******************************Dim Domain,url,url1,strpage,strpage1Dim xmldom,sd,site,dimgDomain = Request. QueryString ("url")If domain = "" Then domain = "111cn.net"If not iswww (domain) ThenResponse.Write "

ASP access to Exchange Server issues

Dim objsession,objmessage Dim Bstrprofileinfo Set objsession=server.createobject ("MAPI. Session ") Bstrprofileinfo= "SERVER2" & Chr (Ten) & "Administrator" objSession.Logon "", "", False,true,0,true,bstrprofileinfo Set

Using stored procedures in ASP

To improve the efficiency of ASP programs, it is sometimes necessary to use SQL Server storage technology in ASP, which is briefly described below. Establishment of stored procedures Here is a brief description of how to establish a stored procedure

Use ASP to access various common type database (four)

4 the DBC database generated by FoxPro is similar to the MDB database, is a database contains several forms of data tables, so the access method for the DBC database is similar to the MDB database. Function createdbcrecordset (DBC database file name,

Examples of date and time functions for ASP

Examples of date and time functions for ASP You can use date and time functions to get dates and times in various formats An example of the function syntax Now () gets the current date and time of the system Dim MyVar MyVar = Today ' MyVar contains

ASP detects whether the domain name registers the code

ASP detects whether the domain name registers the code On Error Resume Nextserver.scripttimeout=9999999Function Gethttppage (Path)t = GetBody (Path)Gethttppage=bytestobstr (T, "GB2312")End Function Function getbody (URL)On Error Resume NextSet

ASP Program Password verification problem (MS, defect)

Involving procedures: MS IIS Describe A Chinese university student discovers the NT website ASP program password Authentication flaw With From: benjurry@263.net The original text reads as follows: Very early found that many domestic programmers

ASP Generation Statistics Chart

Dim Total (7,1)Total (1,0) = "China Business Report"Total (2,0) = "Recruitment network"Total (3,0) = "51Job"Total (4,0) = "Xinmin Evening News"Total (5,0) = "Evening News"Total (6,0) = "Southern Weekend"Total (7,0) = "Yangcheng Evening News" Total

Asp. MD5 Encryption in net

In fact, in asp.net programming, you don't have to call md5.asp to encrypt your data. Classes in dotnet: System.Web.Security.HashPasswordForStoringInConfigFile () public string MD5 (string Str,int code) { if (code==16)//16-bit MD5 encryption (32-bit

ASP to send users a lot of mailboxes

Collection Attribute Application Select the item you want to work with, and the item you selected will be displayed when you submit the data.1, 2, 3, 4, 5, 6, When the client selects the item to display, the following ASP page (set.asp) gives the

ASP file Upload Class code

Dim Oupfilestream Class Upload_fileDim form,file,versionPrivate Sub Class_Initialize' Define variablesDim requestbindate,sstart,bcrlf,sinfo,iinfostart,iinfoend,tstream,istart,ofileinfoDim ifilesize,sfilepath,sfiletype,sformvalue,sfilenameDim

ASP HTML Interchange Program code

chr

Const IIS3ONCHSYS=FALSEfunction Htmlencode2 (str)Dim resultDim lIf IsNULL (str) ThenHtmlencode2= ""Exit functionEnd IfL=len (str)Result= ""Dim iFor i = 1 to LSelect Case Mid (str,i,1)Case "result=result+ "Case ">"result=result+ ">"Case Chr

ASP file download code and get file name

function Download (f,n)' F file full path, n download file filename' On Error Resume NextSet s=createobject ("ADODB.stream")S.mode=3S.type=1S.openS.loadfromfile (f)If Err.number>0 Thenreaponse.status= "404"ElseResponse.contenttype=

ASP Filter HTML code program

Function transferhtml (ByVal Source,para) Dim objRegExp ' Change first ' & 'If INSTR (Para, "[ampersand]") >0 Then source=replace (source, "&", "")If INSTR (Para, "[;]") >0 Then source=replace (source, "If INSTR (Para, "[]") >0 Then source=replace

ASP no component File upload class

'----------------------------------------------------------------------Dim Oupfilestream'----------------------------------------------------------------------' File Upload classClass Upfile_class Dim Form,file,version,err Private Sub

Asp file directory and file copy

Asp file directory and file copy, which I used when writing a system upgrade, is to make the files in the current folder under the system directory, replace the old filesSub fs ()Set fsobject = server. CreateObject ("scripting. filesystemobject

Encryption/decryption-asp instance

Before Encryption: 1234567890Encrypted: MTIzNDU2Nzg5MAAfter decryption: 1234567890Source code:OPTION EXPLICITConst BASE_64_MAP_INIT = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + /"Dim newlineDim Base64EncMap (63)Dim

24 ASP skills for improving performance and style

IntroductionTip 1: cache common data on a Web serverTip 2: cache common data in Application or Session objectsTip 3: cache data and HTML on the Web server diskTip 4: avoid caching non-flexible components in the Application or Session objectTip 5: Do

Windows 2003 IIS6.0 unable to execute ASP solution

Windows 2003 IIS6.0 unable to execute ASP solutionEnable Asp supportWindows Server 2003 is installed by default. IIS 6 is not installed and must be installed separately. After IIS 6 is installed, ASP support must be enabled separately.Enable Asp and

Iis ASP 0104: 80004005 does not allow operation solution

My code is simple'------------------------------------------------------------'Use form submission to generate static homepage code'Make sure your space supports FSO, and the homepage code has less content.'-------------------------------------------

Total Pages: 1800 1 .... 575 576 577 578 579 .... 1800 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.