ASP create objects of two methods comparison _ Application techniques

First, ASP to create the skills of the object When we use the server component to create an object, There are generally two methods. The more common approach is to use the CreateObject () method of the server object, like this: SET Nextlink = Server.

Using ASP to implement the password cracking _ application skills of MSSQL users

Save the following code as an ASP file yourself. Of course I'm still the BS, the guy who only changes the author's name. Copy Code code as follows: ' ============ ASP Port Scanner by Lake2 =================== ' Http://lake2.0x54.org '

ASP database Connection function _ Application technique

Copy Code code as follows: ' ******************************************** ' The following is a database-related function ' ******************************************** ' ============================================ ' Initializing a database

ASP common system Configuration functions _ Application techniques

chr

Sub Saveconfig () Dim fso,hf Set Fso=server.createobject ("Scripting.FileSystemObject") Set HF=FSO. CreateTextFile (Server.MapPath) (". /inc/config.asp "), true) Hf.write "Hf.write "Const sitename=" & Chr (a) & Trim (Request ("SiteName")) & Chr (+) &

getpaing function of the ASP acquisition function used to get pagination code _ Application techniques

'================================================== ' Function name: getpaing ' Function: Get pagination '================================================== Function getpaing (Byval constr,startstr,overstr,inclul,inclur) If constr= "$False $" or

ASP implementation of Saveremotefile function save remote file to local code _ Application Tips

'================================================== ' Procedure name: Saveremotefile ' Function: Save remote files to local ' Parameter: localfilename------local filename ' Parameter: remotefileurl------remote File URL '==============================

ASP GetArray Extract link address, $array$ separated code _ Application Tips

'================================================== ' Function name: GetArray ' Function: Extract link address, separated by $array$ ' Parameter: Constr------Extract the original character of the address ' Parameter: startstr------start string '

GetBody ASP to implement the code to intercept strings _ Application techniques

'================================================== ' Function name: getbody ' function: Intercept string ' Parameter: constr------the string to intercept ' Parameter: startstr------start string ' Parameter: overstr------End String ' Parameter:

Implementation of code for urlencoding conversion Coding under ASP-application techniques

'================================================== ' Function name: urlencoding ' Function: Converting code '================================================== Function urlencoding (DATASTR) Dim Strreturn,si,thischr,innercode,hight8,low8 Strreturn =

Use ASP to implement the Web site's "Directory Tree" Management code _ Application Tips

Using ASP to implement a Web site's directory tree Database structure (two tables used altogether) 1. Tblcategory Field Name Type Root binary description tree off or on (root of directory) ID Auto Number keyword The sort integer identifies the

How to get all the contents of a form in an ASP program-application Tips

How do I get the names of all the forms in ASP the corresponding value . In fact, the problem is very simple, but there may still be a lot of people do not know how to do, so specially written down for reference only. In an ASP program, the object

ASP generated static HTM page Basic code _ Application Skills

The following dotted box is the specific code for the mk.asp file:--------------------------------------------------------------------------------Filename= "Test.htm"If request ("Body") <> "" ThenSet fso = Server.CreateObject

ASP more comprehensive access to IP address code _ Application Skills

The simplest use of the following statement: Ip=request. ServerVariables ("REMOTE_ADDR") Response. Write (IP) But this method to the proxy server on the Internet is not allowed, so more comprehensive is the following method: Copy Code code

Application of transaction techniques in ASP

A business is a series of operations that must be successful, and if one step fails, the other steps must be undone. In fact, in the database system, each SQL statement is a transaction, when executing this statement, either executes successfully,

ASP page randomly add characters to implement anti-duplication code _ Application Tips

chr

' Function: Text anti-copying garbled function ' Date:2006-3-6 ' Author: blue2004 ' Parameter str is the original, str1 author is yourself, Reslut produces garbled seeds Function Readtocode (Str,str1,result) Dim name Dim i,j,k If isnull (str)

ASP keyword string segmentation How to implement the method _ Application skills

I want to do meta keywords, such as my title display ASP code is: If the end-displayed title such as "How is the string split implemented?" ”I would like to divide the string into two Chinese characters, such as "character, String, string, split,

JavaScript helper code commonly used in ASP programming 1th/2 page _ Application Tips

Some common auxiliary code Click to return to the previous page code: Pop-up warning Box code: Click to open a new window Pop-up confirmation box when deleting a record: Close an open window Close Window Empty input and

ASP WAP access to mobile phone terminal information of a piece of code _ Application skills

Copy Code code as follows: Dim Ip,number,mobiletype,loca,uri Dim Conn,sql,rs Ip=request.servervariables ("REMOTE_ADDR") Uri=request.servervariables ("Path_info") Number1=request.servervariables ("Http_x-up-calling-line-id")

A use of ASP thieves and Google to achieve online translation function code _ Application Skills

Copy Code code as follows: Sometimes you want to provide multi-language support for our web pages, and if one language is too cumbersome to do with a single Web page, it is fortunate that Google offers the Language Tools feature, and here's how

Simple multiple query methods and functions under ASP it's nice. _ Application Skills

ASP simple multi-query solution Copy Code code as follows: ' Subject Information title ' Company name to release information ' Content to post information ' Address Company ' Infomation Company profile ' Note related The above

Total Pages: 1800 1 .... 1287 1288 1289 1290 1291 .... 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.