Algorithm and application direction of ASP retrieving Web site-specific directory files

There is a problem with many of our web sites, is the link maintenance update, this is a very heavy work, if not the dedicated staff to maintain the large web site, the normal site of the site update maintenance work has become a very troubling

ASP Caching Technology

Using caching technology in ASP can greatly improve your site performance, but these implementations are very simple, and it will show how the caching on the server works and how you use an ADO connection technology called disconnected. Before

Use ASP to access a variety of common types of database (c)

2 Create a Recordset object with a password MDB database, which is built like a Recordset object with an MDB database without a password, but one more password parameter, that is, the password information must be given when connecting to the

ASP down Dragon 19 Palm

1. The present date Time command is can The 2.ASP method for obtaining data entry from a form is to use a built-in object (-requect). It varies with get,post. 3. If you want to write your own VB or other language, the. dll file should be registered

ASP server-Side validation classes

'================================================================= ' version:1.0 ' Data=2004-7-5 ' Script written by: happy. NET (Nicholas) '================================================================== ' CopyRight by: Kyushu Information

ASP calls stored procedures

1. General method of calling stored procedures Let's assume that there is a stored procedure dt_users in SQL Server: CREATE PROCEDURE [dbo]. [Dt_users] As SELECT * from Users Return Go The first approach is to not use the command object, directly

Write yourself a simple ASP call stored procedure query

This article used not to use the Adodb.command command, but simply did a adodb.recordset to execute the stored procedure. Stored procedures: ' Establish Dbo.tse stored procedures in SQL CREATE PROCEDURE [dbo]. [TSE] @keyword varchar (=null), '

Let ASP interact with XML

xsl

XML is the standard extensible language, is the future of Web programming standards, ASP is now widely circulated in one of the Web programming language, can not let them Two together to play a role? Tofu is here to provide a very simple

How to generate XML files dynamically using ASP

Function Replacechar (Fstrsource) Dim strret If IsNull (Fstrsource) Then Fstrsource = "" End If strret = Replace (Fstrsource, "&", "") strret = Replace (strret, "strret = Replace (strret, ">", ">") strret = Replace (Strret, "" "",

Asp verification code generation

Response. Buffer = TrueWith Response. Expires =-1. AddHeader "Pragma", "no-cache". AddHeader "cache-ctrol", "no-cache"EndDim numRandomizeNum = Int (7999 * Rnd + 2000)Session ("validateCode") = numDim ImageDim Width, HeightDim digtalDim LengthDim

Asp detection file encoding

Function checkcode (path)Set objstream = server. createobject ("adodb. stream ")Objstream. Type = 1Objstream. mode = 3Objstream. openObjstream. Position = 0Objstream. loadfromfile pathBintou = objstream. read (2)If AscB (MidB (bintou, 1, 1) = & HEF

Asp implements file download

 Asp implements the file download function to download files directly without being opened by IE. Any files can be downloaded. Download files without IE File = Request ("file ")Call downloadFile (replace (file ,"",""),"/",""))  Function

Use ASP to retrieve the image address in HTML

The main principle of using ASP to retrieve the image addresses in HTML is to use regular expressions to determine the attributes. This will be useful in the collection program.The function is as follows:The following is a reference clip:Function

Asp generates word files

generate a Word document generate a Word document

Cascade menu [ajax + asp]

Dim conn, rsDim connstrDim sqlCmd'Create a database connection object and openSet conn = server. createobject ("adodb. connection ")Connstr = "Provider = Microsoft. jet. oledb.4.0; data source =" & server. mappath ("data. mdb ")Conn. open

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 regular html image, auto scaling

The following code extracts an image from html,Function getphoto (strHTML)Dim objRegExp, Match, MatchesSet objRegExp = New RegexpObjRegExp. IgnoreCase = TrueObjRegExp. Global = TrueObjRegExp. Pattern = " "Tp = ""Set Matches = objRegExp. Execute

Small calendar-asp instance

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

ASP + ms SQL online password modification Serv-u tutorial

  The following is a demo of combining Serv-U 6.0 and SQL Server 2000.SQL statement for table creation:Create table [groupaccounts] ([Id] int IDENTITY (1, 1) primary key,[Index] int Default 0,[Name] nVarChar (50) default '',[Notes] nVarChar (255)

Compile a website traffic statistics system using ASP

Most of the current website statistics systems are CGI, but the compilation is particularly complicated. ASP is simple to learn and has the advantages of combining with databases, so I will discuss with you how to compile a website statistics system

Total Pages: 1800 1 .... 1086 1087 1088 1089 1090 .... 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.