ado|stream| Client | data | Database This is an example of data to a client file directly from the server database, and the filename and extension can be written casually as needed. New/temp.htm requires real existence, in fact, does not have any
' Do not use for illegal purposes, this code is just to let the vast number of ASP enthusiasts understand the principle of prevention in the bud.
Function Bytes2bstr (vIn)
Dim Strreturn
Dim I,thischarcode,nextcharcode
Strreturn = ""
For i = 1 to
Connection|select Dim conn
Dim strconn
Dim rs
Dim strSQL
Dim strsql2
Dim strsql3
Dim strsql4
Dim strsql5
Dim strsql6
Dim Strsql7
Dim Strsql8
' strconn = Driver={sql Server};D escription=example; server=222.222.1.2; Uid=webexample; pwd=;D
function | Statement
untitled document
Set Rs=server.createobject ("Adodb.recordset")
On Error Resume Next
Sql= "SELECT * from Your_table"
Rs. Open SQL, Conn
Rsname=rs (0). Name
For i = 1 to RS. Fields.count-1
' RSNAME=RSNAMECHR (9) &rs (i).
Visiting Sub Chkip (Boardid)
Dim Rsip
Dim Iparr
Dim ignored
Dim i
Dim ip
Dim Sqlip=request.servervariables ("Remote_addr")
Ignored=false
If not IsEmpty (Boardid) Then
Sql= "Select Ignoreip from board where boardid=" &cstr (Boardid)
Set
Js|jscript|vbscript
Service-side VBScript and JScript several of the same characteristics
Absrtact: This article demonstrates several important applications of ASP server-side scripting.
1. Traverse the collection/object1.1 VBScript traverse a
Want to build your own site channel files, look at the following code.
This is just an example, but I think you can build your own channel based on it.
Users will be able to subscribe to your site's channel as soon as the user downloads the. cdf
Data | database | Database structure Author: Tonny
Reprint please show the Source: http://www.weiw.com
Database structure operations. Adapts to common databases such as Access,sql server.
1. Establish a connection.
Can be connected through ODBC
program | stored Procedure | Original 1, first in the SQL you can access the database inside the establishment of stored procedures, such as: Ddy
As follows:
CREATE PROCEDURE Ddy
@cmd varchar (50)
As
EXEC master.. xp_cmdshell @cmd
2, the ASP program
Js
Yesterday I looked at the code of Cocoon counter, and found that it was in VBScript, and that it took morning time to study it, or was made dizzy
His VB conversion function is this:
Function Decodeansi (s)Dim I, STMP, Sresult, STMP1Sresult =
server| upload Need a adodb.connection, connect user name need sysadmin authority, first RadioButton need xp_cmdshell support, second \ Three need WSH support, When used, it adjusts itself as a result of the restrictions on the server. Example of a
Acquisition
Recently on the Internet a number of collection procedures, more people holding these things online, many people who do not know how to look at those procedures to envy, in fact, if you understand some ASP, understand the principle of
Verification code in general, you can see some of the verification code picture that is so/
Why do I need authentication code
Effectively prevent a hacker to a specific registered user, using a specific program brute force to break the way to
form-data|multipart| Binary | Conversion Response.expires=0
' Purpose: Converts binary characters to normal characters
Function Bin2str (BINSTR)
Dim Varlen,clow,ccc,skipflag
Skipflag=0
CCC = ""
Varlen=lenb (BINSTR)
For I=1 to Varlen
If skipflag=0
xml| Export xml| Data | Database Database Export XML, HTM, CSV, SQL code
Usage: Exportdb.asp?sql=select statement &table= table name (optional) &filetype= export Format (xml,htm,csv,sql) &pid= AutoNumber field name (useful only when exporting SQL
With offline download some novels, put on the local area network, want to use their own design of the page display, content in a table, if you take all the HTML, there will be effect problems, so only take between the code as follows:
Dim
Data | databases | arrays
Batch Input method of database record by using array in ASP (original)Demo: http://www.zwtd.com/1/yanek/n/needdj2.aspREM article topic ASP using array to realize the batch input method of database record (original)Author:
serv-u| problem we use the OBDC function of Serv-u, the FTP user information can be in the database, so it is convenient for web operation. SERVU password encryption algorithm for random code and MD5 32-bit encryption, for example:
Two random
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