First, the principle of access to the database
In ASP, the objects used to access the database are collectively called ADO objects (Active Data Objects), which contains three objects: Connection, Recordset, and command, where Connection is
In our daily life, we will encounter the verification code when we use the website, have we ever thought about why we should use the verification code?
In fact, the role of verification code is to prevent malicious crack password, brush tickets,
For these commonly used control validation, there are separate validation controls available in asp.net. They can satisfy the general, such as Non-empty, scope, comparison and other verification, for the user login page to add input data validation
There are two common ways to generate thumbnails:
First: small pictures scaled to a fixed size
The second type: zoom into equal proportions of small pictures
The disadvantage of the first method is that it distorts the picture, such as a slim mm
If your server is being plagued by an ASP Trojan, then hopefully this article will help you solve the problem you are facing.
At present, the most popular ASP Trojan horse mainly through three kinds of technology to carry out the relevant operation
Some sites for a variety of reasons, in IIS modified the default suffix of dynamic pages, the ASP era, someone on the server to modify the configuration, the HTML suffix file as an ASP file to resolve: that is, ASP programs (. asp) can be saved as a.
'/*=========================================================================
' * Intro Research Web page coding for a long time, because recently to design a link detection of the VBS script, and the person you link to the page is likely to be a
Using XMLHTTP to get data from other pages
When we write the ASP code, we all know that we can get the data from the form forms by post or getting, so how do we get the data directly from the other pages? This is going to be through the XMLHTTP
Just put it in the conn.asp.
' Shield attacks through address bar
Url=request.servervariables ("Query_string")
If InStr (URL, ";") >=1 Then
Url=replace (URL, ";", ";"): Response.Redirect ("?" & URL)
End If
' Masks are attacked by forms
For each
Description
1, this tool can bulk replace the site asp,.txt,php,aspx ... And so on, text-type characters
2, will replace.asp upload to the site root directory, run http://site domain name/replace.asp
3. For safety, please delete or rename it after
This is to escape LAKER2 brother check ASP Trojan horse program
Now that the challenge has been successful, it has been added to the test object. Published code to the freezing point of friends make, I hope you like!
The Adox.catalog component is
A class of ASP paging
Tested in 50,000 records, faster than the one in ADO.
'************************************************************************************
' Specific usage
Dim Strdbpath
Dim ConnStr
Dim MP
Set MP = New MyPage
Strdbpath =
Sometimes we need to give users some feedback when writing ASP, this custom return information function is very convenient for everyone to use
' ************************
' subroutine name: Information Prompt window
' function: Informational
Let's take a look at the official introduction.
Using forms to collect user input is a recurring task in WEB development. A set of forms used to accomplish a task is often called a wizard. The ASP.net Wizard control simplifies many of the tasks
The jsp page displays the database data information table and jsp information table.
In daily jsp development, one of the most basic operations is to display the information previously added to the database on the jsp page, which is part of the
Environment description:Software Environment: asp tutorial. net mvc3 + vs2010System environment: windows xp sp3Browser: ie8 (for peace in the world, for social stability, and not to be despised by everyone. I have already abandoned ie6 !)In the
Asp tutorial. net array ref and out passing arraysLike all out parameters, an out parameter of the array type must be assigned a value before being used, that is, it must be assigned a value by the called party.Class testarraysclass{Static void main
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.