This article to share the QQ online query function code is very simple, the specific contents are as follows:
The method of this procedure is to use XMLHTTP to read the corresponding HTML code of Tencent website to get the head of QQ, according to
Principle
The acquisition program actually uses the XMLHTTP component in the XML to invoke pages on other web sites. For example, news acquisition program, many are called Sina's news page, and some of the HTML has been replaced, while the ads also
Indeed, if the original site if there is a form submission or cookies validation, for the ASP, do not use socket-based components will be difficult to complete, in fact, the other two methods of XMLHTTP have been overlooked, and this is the crux of
Dim act,iflogin,loginurl,loginacturl,logindata,fileurl,filename
Act=request. QueryString ("act")
if (act= "do") then
Iflogin=cint (Request. QueryString ("Iflogin"))
Loginacturl=request. Form ("Loginacturl")
Logindata=request. Form
Below, we begin to learn another ASP's Response object.
Instead of obtaining client HTTP information, the Response object is used to control the information sent to the user, including sending the message directly to the browser, redirecting the
But class this thing, if used relatively little, at best, is a large module packaging mode. Only by using it on a large scale can we show its superiority to project management. The so-called Spaghetti code, and ASP will be a full stop.
I think most
Copy Code code as follows:
' Aspshell to hide and modify the last modification time of a file
' Principle: Through the FSO can modify the properties of the file, such as set to read-only, hidden, system and so on; Attributes properties in FSO
This class is highlighted according to EditPlus highlight
Copy Code code as follows:
Class Wyd_aspcodehighlight
Private RegEx
Public Keyword,objectcommand,strings,vbcode
Public
Copy Code code as follows:
' function: null-value Test
Function Inull (Val)
Dim tmp
TMP = False
If IsNull (Val) Then
TMP = True
ElseIf IsEmpty (Val) Then
TMP = True
ElseIf Trim (Val) = "" Then
TMP = True
End If
Inull = tmp
End
The image control, also known as a picture control, is used primarily to display user pictures or image information.
One, property
Table 1 Common properties and descriptions for image controls
Property
Description
Id
Description
A, the following character database name forum, database server name www-2443d34e558\sql2005 (or 127.0.0.1)
b, view SQL database server Name: Object Explorer-> database-> right click on its own built database-> properties-> permissions
C,
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
UBound functionReturns a Long data whose value is the maximum subscript available for the specified array dimension.
Grammar
UBound (arrayname[, Dimension])The syntax for the UBound function contains the following sections:
Partial
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,
This method can pack the entire folder into the XML file, the XML file and the file and the package files together, run unpack files can be released from the original file, so we can pack the site to the virtual host, and then run unpack files on it.
In the HTML editor release process, there will be some automatically generated HTML tags, or in the message board application process, there will be malicious writing some HTML code, so how to accurately filter out some specific attribute tags and
After so many years of computer, the first time to write articles online! I laughed.
Program Purpose: The job needs, inquires the enterprise registration data friend too many, saves the trouble, has added the inquiry function on the website,
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.