ASP implementation of Intelligent Search Implementation code _ Application techniques

Function AutoKey (strkey) Const lngsubkey=2 Lnglenkey=len (strkey) Select Case Lnglenkey Case 0 ' If empty string, go to error page Response.Redirect "Error.htm" Case 1 ' If the length is 1, no value is set Strnew1= "" Strnew2= "" Case Else ' If

The application technique of Response.Buffer speed-increasing under ASP

For I=1 to 256 yongfa365=yongfa365& " in real time. If Len (yongfa365) >=256 then exit for Next Madebasic () Mademodel () Madeindexblogitem () Response. Write "1/6 All templates Build complete " &yongfa365 Response.Flush () Madeindex

ASP use FSO to generate JS file code _ Application Skills

Set fso= Server.CreateObject ("Scripting.FileSystemObject") Set Fd=fso.createtextfile (server. MapPath (".. /category.js "), true) ' Start operation Set Rs=server. CreateObject ("Adodb.recordset") Rs. Open "SELECT * from Dept_category",

Prevent Web page Back ASP Prohibit caching _ Application Tips

Like the general Internet many prohibit the caching of code, sometimes unreliable, then you just in the operation of the page plus on it, in the page to specify the new page to be directed, and then point back, see whether it will not be back to the

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 (+) &

ASP pagination (2 paging program by oneself) _ Application Skills

asp Paging Program name Password Set Rs=server.createobject ("Adodb.recordset")conn = "dbq=" + Server.MapPath ("Zheng.mdb") + ";D efaultdir=;D river={microsoft Access DRIVER (*.mdb)};"Sql= "SELECT * from User"Rs.Open sql,conn,1,2Rs.pagesize=6 '

scripthtml function of the filter HTML markup ASP code _ Application Tips

'================================================== ' Function name: scripthtml ' Function: Filter HTML tags ' Parameter: constr------The string to filter '================================================== Function scripthtml (Byval

Posthttppage using ASP is to realize the simulation login effect Code _ Application Skills

'================================================== ' Function name: posthttppage ' Function: Login '================================================== Function Posthttppage (Refererurl,posturl,postdata) Dim xmlHttp Dim Retstr Set xmlHttp =

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

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")

ASP type Web site combined with dynamic Forum members of the method 1th/3 page _ Application Tips

Personal website such as membership registration module + Dynamic Network forum, that website and dynamic Network Forum system integration, the implementation of different Web systems between the user Information synchronization update, login and

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

ASP Space Profiteers Query System _ Application Skills

See many friends for no reason to be cheated, special release this inquiry system, lest again fooled! The use method is very simple: Directly input each other's domain name or website, support in English and Chinese! Point Query can Copy Code

The code-application technique of implementing code running function with replace and non-regular under ASP

Today updated the blog's code to run the function, because the original writing is not perfect, if you want to insert a blog in a number of operational code, it will-er fart. With regard to the Replace function, JS simply replaces the first

Total Pages: 1800 1 .... 1270 1271 1272 1273 1274 .... 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.