ASP counter Design detailed

The Active server Pager (Dynamic Servers home page, abbreviated as ASP) can easily implement page counter functionality by reading and writing server files, combining the script language (VBScript or JScript) and HTML code. Now popular ASP textbooks

asp.net solutions that cannot be debugged

If IIS is later installed, you need to first. NET executes the aspnet_regiis-i in the command tool, installs the ASP. NETFramework Then check the configuration below: If IIS is not installed later, check the following configuration directly: 1.

ASP generates picture verification Code program codes

The code is as follows Copy Code Call Com_creatvalidcode ("code") Sub Com_creatvalidcode (PSN)' Disable cachingResponse.Expires =-9999Response.AddHeader "Pragma", "No-cache"Response.AddHeader "Cache-ctrol", "No-cache"'

ASP Call 265 Weather code

H_href = Http://down.111cn.netH_name = "Five-bar navigation station"' Go.asp pageSub Frame_go ()If Request ("Key") = "Then Response.Redirect"./index.htm "End Sub%>Url= "http://weather.265.com/weather/" &chengid& ". htm"Html = Gethttppage

ASP xmlhttp_ Read remote files

In this tutorial, we will use Microsoft's XMLHTTP Request object's Web page remote address from our server. This object is contained in Microsoft's XML DOM component, which may be installed on your server.The traditional Microsoft XMLHTTP object is

Can ASP dynamically include files?

Can I include files dynamically? April 23, 2001 What is dynamic include? Answer Let's start with one case: ' Get the province where the user is Dim Province Province = Request.Form ("province") ' The information in this province is shown below %> "--

Correct use of Global.asa in ASP

Using Global.asa correctly is a common problem for ASP developers. The main thing is to know when to use virtual application, when to use virtual directory, and to know their differences. Virtual directories (dummy directory) In short, virtual

ASP prevents outbound, Cross-domain submissions

From_url=request.servervariables ("Http_referer")Serv_url=request.servervariables ("Http_host") If InStr (From_url,serv_url) <>0 and InStr (From_url, "reg.asp") <>0 ThenResponse.Write "Right!"ElseResponse.Write "Illegal Submission!"End If%> You

ASP generic anti-injection program

Do not change the original character display!such as select* replaced by & #115; elect*This will not damage the data, but also safe!Where I didn't think of it, please correct me. Response.Write checkrequest ("str") ' ===============================

ASP Generation Statistics Chart

Dim Total (7,1)Total (1,0) = "China Business Report"Total (2,0) = "Recruitment network"Total (3,0) = "51Job"Total (4,0) = "Xinmin Evening News"Total (5,0) = "Evening News"Total (6,0) = "Southern Weekend"Total (7,0) = "Yangcheng Evening News" Total

ASP multi-level linkage dish single

ASP multilevel Linkage menu, Multilevel linkage menu

ASP authentication Code Source code

chr

ASP authentication Code Source code Call method, is b.htm page Update Let's save the following page as a 111cn.asp Option ExplicitResponse.Expires = 0Response.AddHeader "Pragma", "No-cache"Response.AddHeader "Cache-ctrol",

ASP Collection Class

'==================================================' Function name: GetArray' Function: Extract link address, separated by $array$' Parameter: Constr------Extract the original character of the address' Parameter: startstr------start string'

ASP SQL anti-injection program [POST,QUERY,SQL]

Dim Query_badword,form_badword,i,err_message,err_web,name Err_message = 1 ' processing mode: 1 = hint information, 2 = Turn page, 3 = prompt before turning Err_web = "err.asp" The page to turn when error Query_badword= "' ∥AND∥SELECT∥UPDATE∥CHR∥

ASP + Access2000 Efficient Paging program

abs

On Error Resume NextDim startime,endtimeStartime=timer () ' Connect to the databaseDim db,conn,rsdb = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & Server.MapPath ("./db.mdb")Set conn = Server.CreateObject ("Adodb.connection")Set rs =

ASP efficient Paging class

'================================================' By KANGK.L' Date 2006-04-07' Program Name Kangk PAGEAC' Class Name CLS_PAGEAC'''---------Property Let--------' listhtml list looping Template: Character type, HTML code and substitution tags '

ASP IP Transfer City database code download

Dim ip_address,ip_rs,cip,ip_conn,ip_connstr,ip_province,ip_cityConst datatype=1 ' 0 is an Access database, and 1 is a SQL Server databaseConst mdbpath= "Ip_address.mdb" ' If it is a SQL Server database, this entry is left

ASP no component File upload class

'----------------------------------------------------------------------Dim Oupfilestream'----------------------------------------------------------------------' File Upload classClass Upfile_class Dim Form,file,version,err Private Sub

ASP based on IP to judge the city

Dim ip_address,ip_rs,cip,ip_conn,ip_connstr,ip_province,ip_city,rs,ip_py Const datatype=0                ' 0 is an Access database, 1 is SQL Server database Const mdbpath= "/ip/ipaddress.mdb"              ' If this is a SQL Server database, leave

Solution to iis failure to run asp files

View system logsThe iis server cannot load the application '/lm/w3svc/1/root/test '. Error: 'No registered categoryMicrosoft windows xp [Version 5.1.2600](C) Copyright 1985-2001 microsoft corp.C: documents and settingsadministrator> cd % windir %

Total Pages: 1800 1 .... 898 899 900 901 902 .... 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.