ASP regular expression match number $

CopyCodeThe Code is as follows: dim strok, strno Strok = "12312321 $12312312312 $12312321 $" Strno = "12312321 $12312312312 $12312321 $ sdfsd" Function regexptest (patrn, strng)Dim RegEx, match, matches 'to create a variable.Set RegEx = new

ASP Feifei unlimited classification V1.0 ASP + SQL + Stored Procedure + Ajax download

Ben ProgramDeveloped by Feifei ASP Park ffasp.com This program official download website http://www.ffasp.com/content.asp? Newsid = 945 flying! P Technology Park * ** Note: Ajax-based tree directory display Supports flexible directory addition,

Method of communication between flash and ASP/PHP/Asp.net page 1/3

I. Use loadvariables An example briefly describes how to send a request to ASP on the server through the get method: CopyCode The Code is as follows: _ root. pushaction = function (URL ,){ This. loadvariables (URL, "get "); } VaR ask = true; VaR

ASP Chinese Word Segmentation

A = "Japan is a province in China | our beautiful Chinese Zhangjiajie! " B = "China, US, Zhangjiajie, Japan, US, Apple" B = Split (B ,",") A = Split (a, "| ") For k = 0 to ubound () S = "" N = "" For I = 0 to ubound (B) If instr (A (K), B (I)> 0

ASP: how to clear an application

If a large number of applications are used in the website, it will occupy a large amount of server resources. Therefore, when we exit the background, we can clear the data and the website will run faster. Application Object implementation in a

Frequently used code in ASP

Click the "OK" and "cancel" prompts Onclick = '{If (confirm ("are you sure you want to delete it? This operation cannot be restored! ") {Return true;} return false ;}' Delete the. LDB FileApplication. Contents. removeall ()%> Convert HTML

Use fso in ASP to implement operation functions such as folder or file moving and renaming

ASP uses FSO to move files Function movefiles (sfolder, dfolder) On Error resume next Dim FSO Set FSO = server. Createobject ("scripting. FileSystemObject ") If FSO. folderexists (server. mappath (sfolder) and FSO. folderexists (server. mappath

Implementation Code of Asp.net Excel operations

Excel is a software in Microsoft's office suite. It is mainly used to process workbooks. Excel is welcomed by our office staff for its user-friendly interface and rapid data processing. Therefore, many documents are saved in Excel format.

Security Settings for ASP. NET

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

Intrusion into the Asp.net website with code

1, For websites with. net Generally, a user is registered. First, we chose to use the upload judgment vulnerability to add the image title gif89a. 2,The second method is injection? Id = XX followed by single quotes "'"In general, you can use

Use getstring to increase ASP speed

'Create connection/recordset 'Populate data into recordset object %> . Loop %> If there are many query results, the server will spend a lot of time explaining your asp script, because there are many response. write statement to process.

Asp.net verifies whether a string meets the specified Regular Expression

/// /// Quickly verify whether a string matches the specified regular expression. /// /// content of the regular expression. /// string to be verified. /// whether the bool value is valid. Public static bool quickvalidate (string _

ASP paging (self-organized two paging programs)

Asp PagingProgram name password Set rs = server. Createobject ("ADODB. recordset ")Conn = "DBQ =" + server. mappath ("Zheng. mdb") + "; defaultdir =; driver = {Microsoft Access Driver (*. mdb )};"SQL = "select * from user" Rs. Open SQL, Conn, 1

Use ASP to implement MSSQL user password cracking

Put the following Code Save as an ASP file. Of course, I am still BS guys who only change the author's name. Copy code The Code is as follows: '============ ASP port export by lake2 ====================================== 'Http: //

Asp.net simplifies the function of receiving parameter values

/// /// Obtain querystring /// /// parameter name /// return value Public string q (string s) { If (Request. QueryString [s]! = Null) { Return Request. QueryString [s]. ToString (); } Return string. Empty; } /// /// Obtain the

Asp database connection functions

Copy codeThe Code is as follows: '*************************************** ***** 'The following are database-related functions '*************************************** ***** '================================================ ===== 'Initialize the

Common ASP system configuration functions

Sub SaveConfig () Dim fso, hf Set fso = Server. CreateObject ("Scripting. FileSystemObject ") Set hf = fso. CreateTextFile (Server. mappath ("../inc/config. asp"), true) Hf. write "Hf. write "Const SiteName =" & chr (34) & trim (request

Summary of several methods for loading templates in asp

1. General Virtual Hosts implemented using adodb. stream provide Copy codeThe Code is as follows: function loadtempletfile (byval path) On error resume next Dim objstream Set objstream = server. createobject ("adodb. stream ") With objstream . Type =

Summary of Solutions to asp UTF-8 garbled Problem

This is a Web page encoding problem. Generally, the Chinese version uses gb2312 to display Chinese characters without garbled characters. However, sometimes we use an international common UTF-8 format. If the UTF-8 format is not well understood,

Total Pages: 1800 1 .... 1512 1513 1514 1515 1516 .... 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.