The code is as follows:
Copy Code code as follows:
' Use ASP to obtain the remote target Web page specified content, the code is provided by Guangzhou website Construction http://www.jb51.net
On Error Resume Next
server.scripttimeout=9
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
' Name: ASP Universal Collection function redundant version, to the high-quality version of the conscientious change
' Author: Liu Yong FA
' Date: 2007-6-23
Function Gethttppage (Path)
t = GetBody (Path)
Gethttppage = Bytestobstr (t, "GB2312")
End
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
This class is highlighted according to EditPlus highlight
Copy Code code as follows:
Class Wyd_aspcodehighlight
Private RegEx
Public Keyword,objectcommand,strings,vbcode
Public
Just run a piece of code, to see how many values request.servervariables inside, looked at, a total of 50!Code I used to feel request.servervariables in the value of many, now see still so much, but today to talk about one of the
1. Creating a Recordset object
Copy Code code as follows:
Dim Objmyrst
Set objmyrst=server.createobject ("ADODB. Recordset ")
Objmyrst.cursorlocation=aduseclientbatch ' client can be processed in batches
'**************************************************************
'-------------------------------------------------------------
' First parameter
' Can be a table name, or it can be an SQL statement
'--------------------------------------------------
The ListBox control allows a user to select one or more items from a predefined list. It differs from the DropDownList control in that it not only displays multiple items at once, but optionally allows the user to select more than one item at a time.
Program Model Processing Iapplicationmodelconvention
MvcOptionson the instance object, there is a ApplicationModelConventions property (type: List ), an IApplicationModelConvention interface collection of the property type that is used to process
In the previous in-depth understanding of the routing section, we talked about the definition of an attribute-based feature (route and Httpxxx series methods) in MVC, in addition to the default ASP.net 5 route registration method. In this chapter,
Copy Code code as follows:
If IsNumeric (ID) =false then Exit Sub
strSourceFile = Server.MapPath (dataxml& "/advertisement/" &id& "/adv.xml")
Set objxml =server.createobject ("Microsoft.XMLDOM") ' creates an XML pair like
Objxml.load
This article will continue to introduce some of the Web dynamic features written in ASP. Because of the inconsistent web browser standards so that how to make their own web site to adapt to a variety of different browsers to become the most
This is just an ASP tip class thing, although it is suitable for each of the different file names call this function, but there are prerequisites, let's take a closer look at the story.The following section is the basic page-splitting code:
ASP's circular statements have the following categories:
The function of a circular statement is to repeat the execution of the program code, which can be divided into three categories: a class repeats the statement before the condition becomes
Follow these steps, step by step, and you'll soon have exquisite graphical counters. Step 1: Create a text file, such as counter.dat , to store the amount of traffic under a directory in a Web site, such as count. The contents of the file
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