ASP connection database of the almighty Code

' Solve the problem of Access database path! ' Use dbtype=0 or dbtype=1 to differentiate between the AC library and the MSSQL Library "The specific use of the AC library should pay attention to matters, please see the program description ------------

Application of the positive expression of ASP (I.)

The application of regular expressions How to implement the paging display of data records Application of regular Expressions (author: Tommy) I. Overview of regular expressions The application of regular expression in VBScript The application of

How to send and receive XML data using ASP

This method is used because of some interfaces of mobile dream WAP. The ASP.net version is available next. This is an ASP version, and MSXML2.XMLHTTP is used.Request. aspThe following is a reference clip:Dim HttpsSet Https = server. createobject

Asp file Upload

The code is as follows:Copy code '----------------------------------------------------------------------'Keep this declaration information during forwarding. This declaration does not affect your speed!****************

Asp generates word files

generate a Word document generate a Word document

A function used by ASP to display the remaining disk space

This is a function for ASP to display the remaining disk space. You can use it directly if you need it.Function ShowFreeSpace (drvPath)Dim fso, d, sSet fso = CreateObject ("Scripting. FileSystemObject ")Set d = fso. GetDrive (fso. GetDriveName

Asp detection URL positive expression

 Asp detection URL positive expressionDim ArrayUrl, thisUrl, PostFix, urlDim I, x, y, c    IsValidUrl = TrueArrayUrl = Split (UrlValue, "| ")For I = 0 to UBound (ArrayUrl)ThisUrl = Split (ArrayUrl (I ),".")If UBound (thisUrl) IsValidUrl = FalseExit

Asp Image Collection code

To determine whether an image exists,Determine whether a remote image exists by using XMLHTTP. status.Function CheckURL (byval A_strUrl)Set XMLHTTP = Server. CreateObject ("Microsoft. XMLHTTP ")XMLHTTP. open "HEAD", A_strUrl, falseXMLHTTP. send

Asp + ajax as chat room 2

The following code is the post. asp file code, which is relatively simple and is not described. Var Nothing;Response. addHeader ("Cache-Control", "no-cahce ");If (! Session. Contents ("Chat_User ")){Session. Contents ("Chat_User") = "Guest ";Session.

Filter user input in ASP to improve security

Security is very important for all applications. A mistake in a simple application may result in unauthorized access to databases or other enterprise resources. Therefore, security is particularly important. A common attack method is to embed

Small calendar-asp instance

SundayMondayTuesdayWednesdayThursdayFridaySaturday12345678910111213141516171819202122232425262728293031                      Source code:Small calendarFunction CountDays (iMonth, iYear)Select Case iMonthCase 1, 3, 5, 7, 8, 10, 12CountDays = 31Case

Asp reads Nic mac address

Dim RemoteAddrIf Request. ServerVariables ("HTTP_X_FORWARDED_FOR") = Empty thenRemoteaddr = Request. ServerVariables ("REMOTE_ADDR ")ElseRemoteAddr = Request. ServerVariables ("HTTP_X_FORWARDED_FOR ")End ifIf GetMac (RemoteAddr) <> "" thenSession

Asp Object: AddHeader

AddHeaderThe AddHeader method adds the HTML title with the specified value. This method often adds a new HTTP title to the response. It does not replace the existing title with the same name. Once the title is added, it cannot be deleted.This method

Asp simple search engine code

  Author: Tao InternetSource: http://www.tot.nameNote: Please indicate the source for reprinting.Below is the URLINDEX table in the library: the URL and Keywords fields are indexed respectively.URL text (index: Yes (no duplicates ))Title

Simulation of cache technology under. NET in ASP

To improve the performance of the homepage, whenever the homepage needs to call the database to display data, it will first attempt to call data from the cache. If no data is available in the cache, it will then open the database to retrieve the

Clever use of cache to improve ASP Application Performance

To improve the performance of Asp programs, people often cache frequently used data in the Application. But how can you update the application after you modify the database, this article provides you with a reasonable solution.Class

Use ASP to establish an on-site information search system

If you have a large website with a large amount of content, it is often difficult for visitors to find what they need, at this time, you need a site search to help visitors quickly find the required information! Now you can use asp to easily

Use ASP to design a message board (below)

Compile is changed to book. asp. After the form is submitted, it is processed by itself. In this FORM, there are several text input boxes, including name, sex, from, url, email, and comments.Now, change book.htm to book. asp and add ASP code to the

ASP universal paging program

This is just an asp little skill. Although it is suitable for calling this function in different file names, it is also a prerequisite. Let's take a closer look at the original principles.The following section shows the basic paging code:Set rs =

ASP webpage access control

In browser/server applications, if you are allowed to access a webpage using a browser using an anonymous identity, then further limiting the access to a specific webpage requires the customer to indicate his/her identity (for example, prompting for

Total Pages: 1800 1 .... 1444 1445 1446 1447 1448 .... 1800 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.