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 cache technology

Function readdb ()Dim objconn, objrsSet objconn = server. createobject ("ADODB. Connection ")Objconn. connectionstring = "Provider = Microsoft. Jet. OLEDB.4.0 ;"&_"Data Source =" & server. mappath ("db. mdb ")Objconn. openSet objrs = server.

Code for generating thumbnails using asp [aspjpeg]

Asp generate thumbnails asp automatically generate thumbnails asp.net generate thumbnails asp code generatorAspjpeg is free and can be used next time. Currently, this component is supported in general space.The principle of no component is the same

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 writes a simple BBS

The following basic steps are indispensable for the complex BBS.(1) database, used to store posted posts! ----- Name: bbs. mdb (note: the database I selected here is Access)(1) bbs. mdbOpen the database and create a table named bbsThis table has

Asp + ajax as chat room 1

This is a simple example, which consists of two files: index.html and post. asp.First, let's take a look at the code of the index.html file, #000000 # ff0000 #008000 # 0000ff #800080 #008080 #808000 for #000000 # ff0000 #008000 # 0000ff #

Small calendar-asp instance

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

Ordering-asp instance

Ordering-asp instance-learn from belowDate: August 17, 2004 author: popularity:111Select the fruit you want to orderAppleBananasPineappleOrangeYou did not order fruitSource code:Order fruitSelect the fruit you want to order Apple bananas pineapple

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

Comparison of ASP, JSP, and PHP technologies

Currently, the three most common dynamic web page languages are ASP (Active Server Pages), JSP (login erver Pages), and PHP (Hypertext Preprocessor ).IntroductionASP full name Active Server Pages is a WEB Server development environment that can

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

Use ASP to design a message board (on)

First, before creating a message board, we should first make an input screen interface effect, that is, generate the htmL page of the input screen of the message department, and then add ASP scripts to these htmL source code, the htmL code I got

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

Test results on the maximum efficiency of ASP writing to the response stream

This tutorial describes how to Write ASP-generated content to the most effective method in the Response stream, that is, to test the efficiency when outputting content to the client using Response. Write and .One of the main reasons for using ASP is

Use ASP to implement homepage with dynamic scaling level list

The IE4.X released by Microsoft has made web pages created in accordance with the HTML4 standard fashionable for the moment. Such web pages have greatly improved their dynamic functions. In particular, you can use Script statements embedded in the

Use ASP to write dynamic response forms

Many web designers may face the following problem: design a form for users to input and create the user's input content to the database, however, if the content entered by the user is not of the type (number field but text input) or the content

A simple color absorber compiled by ASP

'Asp Code will run on server and Make HTML Page'Java Script will run on Client Side and Change the background color'According to movement of Mouse%>Dim I1, I2, I3 'looping variables for RGB ColorFor I1 = 0 to 15 step 3For I2 = 0 to 15 step 3For I3 =

Use ASP to list all hard disks and types on the server

List all disks of the server.Function Tran (drv)Select case drvCase 0: Tran = "unable to recognize devices"Case 1: Tran = "floppy disk drive"Case 2: Tran = "hard drive"Case 3: Tran = "Network Hard Drive"Case 4: Tran = "disc drive"Case 5: Tran = "RAM

Asp implements data record backup and recovery.

Save the data record to the file:Set fs = server. CreateObject ("Scripting. FileSystemObject ")FilePath = server. MapPath ("backup.txt ")OldFilePath = server. MapPath ("oldbackup.txt ")Fs. DeleteFile OldFilePath, trueFs. MoveFile FilePath,

Total Pages: 1800 1 .... 971 972 973 974 975 .... 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.