ASP passes parameters to SQL statements (not stored procedures)

A content management system written four years ago, applied to the company intranet, yesterday the DBA said that the SQL statements were not using parameterized calls, resulting in heavier server burdens and large resource consumption. It also lists

Using ASP to implement the email system supporting the attachment (2)

But this is only to get the sender's IP address and MAC address, but also prohibit users to change their own IP address code, because our system is the need for personal modification of the IP behavior to prohibit. StrIP = Request.ServerVariables

ASP registry Entry Modification (EXT)

Author: netguest 1) Key value path Hkey_local_machinesystemcurrentcontrolsetservicesw3svcaspparame Ters 2) Items and parameters Item and parameter description ---------------------------------------------------------------- Allowoutofproccmpnts

Who asked the other day? Return connection object from DLL to ASP, example inside

The name of the DLL project is NN, the name of the class is TT Option Explicit Function test () as String TEST = "TEST!!!!" End Function Public Function Getconn () as ADODB. Connection Dim Conn as ADODB. Connection Set conn = New ADODB. Connection

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 paging functions [recommended]

SQL = ""Set Rs = Server. CreateObject ("Adodb. RecordSet ")Rs. open SQL, TXconn, 1, 1If Rs. RecordCount ThenTopNum = 10' defines how many entries are displayed per pageQName = "Page" 'defines the variable name of the received Page number.Page =

Xml generation using asp

chr

The code is as follows:Copy code add a new node to xml Addok = request ("addok ")If addok = "" Or IsNull (addok) Then%>Website name: Address: End IfIf addok = "add" thenSite = request ("site ")Url = request ("url ")StrSourceFile = Server.

Common code of ASP document paging by line

# # Dim rs, dic# Set rs = createObject ("adodb. recordset ")# Rs. open "select * from ctat where aid = 15783", conn# 'Rs. open "select * from ctat where aid = 12850", conn#  # Set dic = fAtPgnt (rs ("content"), 50000, request. queryString ("apid "))#

User logon-asp instance

Enter the user name and passwordUser name:Password: Source code:User logonIf Request. Form. Count = 0 then%>Enter the user name and password user name: Password: Dim userDim pwdUser = Request. Form ("username ")Pwd = Request. Form ("password

Design the receiving and publishing management system with ASP (2)

Related implementation technologies1. Design of typical data tablesIn the receiving and publishing management system, any receiving or publishing File corresponds to a default process (defined in advance), and the file is transferred down one by one

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

Construct a homepage chat room using ASP

Having a chat room on the home page will add a lot of fun to your home page space, especially in the Intranet or LAN. However, traditional CGI Programming is a headache. With the popularity of ASP technology, making homepage chat rooms is no longer

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

Configure the ASP development environment in Windows 2000

Using ASP (Active Server Page) to compile personal webpages has become a dream of more and more personal website authors. ASP is a web scripting language. Its most important feature is database-driven and dynamic interaction. The introduction of ASP

Implement room functions and user display in asp chat rooms

Implement room functions and user display in asp chat roomsAfter I wrote the article "implementing the whispering function in asp chat rooms", many of my friends sent me a letter asking meAbout other advanced functions. Indeed, advanced functions

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,

Use ASP on linux

Since ASP technology was introduced by MS, the powerful functions of ASP in creating dynamic interactive sites and the simplicity of code writing have led, ASP has been widely used in many Internet/Intranet/exists websites, especially for website

Example of an ASP Source program using the <meta> label

Utils/Init. asp// ================================================ ======// NOTE: all source code downloaded from CoverYourASP was written// James Shaw (unless stated otherwise), and is copyright (c) 2000// James Shaw. You may use this source code

How to obtain the client MAC address in ASP

This program is a special method. The scope of use is relatively limited, and there is a certain risk. Some methods in asp backdoors are used for reference. The following is the program code.Dim remoteaddrIf Request. ServerVariables

Total Pages: 1800 1 .... 1033 1034 1035 1036 1037 .... 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.