This procedure belongs to a special method. The scope of use is relatively limited, and there is a certain risk. Borrowed from the ASP in the back door of some methods. The following is the program code.
Dim remoteaddrIf Request.ServerVariables
Anti-injection | attack
These days is really a hole in the SQL injection to hurt God, online code a lot of not very esoteric is trouble. Finally found a universal anti-note code, sharing, hehe. Easy to operate, as long as a included or put into the
access| Code | data | database | Compressed PURE code to achieve Access database establishment or compression!!
' ###### #以下是一个类文件, the following annotation is the method of calling the class ################################################
' #
Answer | Question 1. Take the full address of the current page to return to the
Function GetUrl ()
On Error Resume Next
Dim strtemp
If LCase (Request.ServerVariables ("HTTPS") = "Off" Then
strtemp = "http://"
Else
strtemp = "https://"
End If
strtemp
Traffic | statistics | traffic | statistics
In the current Web site statistics System is most of the CGI, but the writing is particularly complex, and the ASP to learn simple, more and the advantages of combining the database, so the combination of
from the beginning of this article, the author starts from the ASP, and analyzes the characteristics and methods of the ASP's six built-in objects and various components in detail. Before we begin to learn the ASP's built-in objects and components,
Oh, can enter the essence area? It took me a day.Two brother Zhang > I am very inspired by the article, but there are some deficiencies in my thinking.One is unable to respond to some updates with the information.Add now is a BBS, then the
Client | data | Original When we sometimes add new records, it's inconvenient to add one at a time, especially when you're typing in a large amount of data, such as student scores.
Here are the number of custom add records I made to a customer (that
Error | Send mail | page
When we are making a website, we usually have some wrong operation of the visitor or the defect of our website itself, cause a non-existent page to be accessed, there will be 404 error messages, if the enthusiastic visitors
Ever want to know you to display the contents of a text document using ASP. Here's a easy way to read
from a text file
' by James Seymour, http://jamesdot.org
Dim Write
Dim filesysobj, TF, read
' Read the Read.txt
' Store the file
Anti-injection | To solve
' ASP anti-injection solution
' Special page handling
' Because some pages pass through streaming (such as a form with file uploads)
' If you use a single, exhaustive form object, an error occurs
' So filter out these
I believe a lot of people have come across it. Here, I'll talk about the way I deal with it.
First step: Make a backup of the existing database.
Step Two:
Execute the following ASP file, so you can remove the JS Trojan horse in the database:
Note:
Asp.net| Programming | function | network
1, DateTime Digital type
System.DateTime currenttime=new System.DateTime ();1.1 to take the current month and day time currenttime=system.datetime.now seconds;1.2 Take the current year int year
' Site Validator 1.0.0' Very simple concept, run this script on your server, it records the "file details to"' XML file which you download and store. Then, when your come back to make changes can"Run the XML file back through this script and it'll
The web today looked at Ccopus's DM45 and did a great job, and I wanted to do it before, doing a program that was very similar to Windows Explorer. When I saw Dm45, I thought I'd give up. Web way of file management is in the permission to operate in
Stored Procedure | access | data | database one, ADO overview
ActiveX data Object (ADO) is a technology that is both easy to use and extensible, use to add database access to your Web page you can use ADO to write concise and scalable scripts to
Beginners | beginners
1. How to use ASP to determine the virtual physical path of your website
Answer: Using the MapPath method
The physical path to this virtual website is:
2. How do I know the browser used by the user?
Answer: Use the Request
Applicable IIS version: IIS 7.0, IIS 7.5, IIS 8.0
Applicable versions of Windows: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
1, the application pool (application pool) settings:
General->queue length set to 65535 (maximum
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.