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
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
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",
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
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
'
Copy Code code as follows:
' ********************************************
' The following is a database-related function
' ********************************************
' ============================================
' Initializing a database
'==================================================
' Function name: scripthtml
' Function: Filter HTML tags
' Parameter: constr------The string to filter
'==================================================
Function scripthtml (Byval
'==================================================
' Function name: posthttppage
' Function: Login
'==================================================
Function Posthttppage (Refererurl,posturl,postdata)
Dim xmlHttp
Dim Retstr
Set xmlHttp =
The following dotted box is the specific code for the mk.asp file:--------------------------------------------------------------------------------Filename= "Test.htm"If request ("Body") <> "" ThenSet fso = Server.CreateObject
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,
' 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)
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,
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
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")
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
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
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
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
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