As Microsoft launched the Web page and database solution, ASP because of Microsoft's unique operating system and other technical backing support, so has been rapid development, and is receiving more and more welcome, in the current E-commerce site
Dim sql_injdataSql_injdata = "' |and|or|exec|insert|select|delete|update|count|*|%| Chr|mid|master|truncate|char|declare "Sql_inj = Split (Sql_injdata, "|")If request.querystring<> "" ThenFor all SQL get in Request.QueryStringFor Sql_data=0 to
' This sub-page effect support ' pagination, pagination effect: Home prev ... 2 3 4 5 6 7 ... Next last page This paging mode, has the forum style' ID title content status updatetime' 1 T1 C1 1 2010-5-26 21:16:06' 2 T2 C2 1 2010-5-26 21:16:09' 3 t3
reg.asp file
Username=request. Form ("username")Password=request. Form ("password")
Sql= "SELECT * from Puser where y_username= '" &username& ""Rs.Open sql,conn,1,1If not rs.eof ThenResponse.Write "No"Response.EndEnd IfRs.close
Sql= "INSERT into
Application of string functions in ASP--------------------------------------------Author: enlightenedSource: Program Design AllianceHttp://www.pgsun.comEMAIL: liuyong8833@sohu.comWelcome to learn and exchange!-----------------------------------------
1. Dynamic form interface, refer to on csdn Forum Untitled Document enter the dealer's communication information: Last name: Address: Tel: Enter Inventory Information
For example, if the field styledesc is used, the data must be 50 bits and char characters. Can I limit only 50 bits,All characters can be entered. As long as it is char-type, it can be used as long as the database permitsIn this way, securely
During IE's document link, if you encounter a document supported by OLE, IE will automatically call the corresponding program to open it. Sometimes this function is not what we need, although we can remind users to right-click --> "save the target
This is a simple paging program. The code is as follows: test page Dim all, cnt, page, digDig = 10' entries per pageAll = 100 'total display entriesCnt = 1Page = Request. QueryString ("page ")Pagenum = all/digResponse. Write ("pagenum =" & pagenum &
Developing such a domain name query system is actually a very easy task, as long as we can let the user get the result after the query to see if the domain name entered by others is occupied by others, if it is not occupied, we can apply for it on
Request object Author: mi Xiansheng The Request object is used to obtain the data sent from the client browser to the server, that is, to obtain information from visitors accessing your ASP. The Request object contains the Form set,
Application object Author: mi Xiansheng 1. Set of Application objectsIn the Application, there are two sets of Contents and StaticObject. You can use these two sets to control whether variables and objects are visible in the entire ASP
Session object Author: mi Xiansheng We can use the Session object to store the information required for a specific user Session. When a user jumps between pages of an application, the variables stored in the Session object are not cleared,
Uploading files from a browser is an easy way to transfer files from a client to the server. Since the third-generation browsers Netscape and Microsoft, most browsers can upload files to the server without providing users with special access methods
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.