ASP security detection and filtering function Safecheck

'-------------------------------------------------------------------------- ' Role: Secure string detection function ' Name: Safecheck ' Parameter: checkstring,checktype,checklength Description ' Checkstring to detect string: any character. '

Allows users to see your ASP's original code

If you write an ASP program, want to let your user see ASP's raw code, you can use FileSystemObject this object to send out the program original code. Dim strURL strURL = Request.QueryString ("URL") Dim Strdir, strFileName Strdir =

asp.net file Batch rename program

Hundreds of images were taken by CCD in batches, named 1.bmp,2.bmp,3.bmp ... , in order, because some of the images are blurred or not conforming to the processing Conditions, I manually remove it, so I just mentioned the problem, now a large

asp.net realize picture printing

ASP tutorial. NET implementation Picture printingThis section of the picture printing function can be printed, that is, automatically printed on the printer on the computer Oh. private void Button1_Click (object sender, EventArgs e){

Set asp.net page cache in Web.config

The above means that the expiration time is 60 seconds, not cached according to the page parameter. This setting is called in the page below. There's no easy way to set it up for the moment.

A newer ASP backdoor server implementation code _ Trojan related

Today, we re-study the ScriptControl components in VB, and found that the ASP can also call. Studied the next method, and later discussed with LCX. Got the following code, in this thanks to the predecessors of the guidance, hehe. The code is very

ASP Paging one class _asp class

A class of ASP paging Tested in 50,000 records, faster than the one in ADO. '************************************************************************************ ' Specific usage Dim Strdbpath Dim ConnStr Dim MP Set MP = New MyPage Strdbpath =

asp.net ajax No Refresh Review Introduction _ Basic Application

First or build a docomments.aspx page and a dealcomments.ashx page (code basically have comments, if not write comments, please see the first few!) )。 The code in the Docomments.aspx page is: Copy Code code as follows: Comment

Asp. NET page transfer values of several methods _ self-study process

asp.net WEB FORMS provides developers with an excellent event-driven development model. However, this simple application development model brings us some small problems, for example, in a traditional ASP application, you can easily through the post

Asp.net+fckeditor upload Picture Show fork picture can't show resolution _ Web page Editor

Made a half-day also did not find the reason, and then again to download a few online, or not, depressed bad, and finally combined with the use of other editors, just know is the Configuration folder upload folder path write wrongFor example, to

ASP+CSS Implementation list Alternate color _css/html

List interlace color refers to in the news and the list of articles, the first line and the back of the background color alternating display, can also be called zebra crossing, to the Web page can be a lot more. See small Yi in Bi's post "the

Ajax and ASP's programming _ajax related

ajax.html Copy Code code as follows: 1: Show "OK"; Other characters: Show "Error" Detection t.asp Copy Code code as follows: Response.contenttype= "Text/xml" response.charset= "gb2312" If

Using XMLHTTP to crawl the content of Web pages in ASP application techniques

Need to split HTML source code In this example, the crawled HTML source code is as follows 2004 Year August 24 Tuesday; Daytime: Sunny Sometimes cloudy southerly 3-4 class; Night: Clear South wind 3-4; temperature: Up to 29 ℃ minimum 19℃ And the

asp.net background add css, JS, meta tags

The code is as follows Copy Code #region # #添加JS文件Add JS fileCreate Person: PorschevDate Created: 2011-7-25 page Path public void Addscript (System.Web.UI.Page Page, string url){HtmlGenericControl Jscontrol = new HtmlGenericControl

ASP Introductory Tutorial: ASP Request Brief Introduction

ASP Introduction Tutorial: ASP request is a simple introduction, the ASP Request object is used to get information to the user. It has two ways of form and querystring, Let's take a look at request.from here is specifically used for forms such as.

AJAX ASP Query the database and get the return value

function Checkdomain () {var domain = document.getElementById ("domain"). Value;if (domain = = ") {Alert ("Please fill in the domain name!") ");document.getElementById ("domain"). focus ();return false;}var info=domain.match (/^[a-z0-9]+$/);if

Essence ASP Code Collection

The establishment or compression of an Access database based on pure coding ' ###### #以下是一个类文件, the following annotation is the method of calling the class ################################################ ' # Note: If the system does not support the

Asp.net without ajax Asynchronous call

I wonder if you have encountered thread-UI interaction in Winform code? Then, do you write the code in this way: The code is as follows:Copy code Public delegate void AddListViewCrossThreadDelegate (******);Public void AddListViewCrossThreads

Asp.net ajax checks whether the user name is available

div>Div>Aspx fileProtected void page_load (object sender, eventargs e){ String username = request. querystring ["username"]. tostring ();If (username = "james hao "){ Response. write ("the user name already exists! ");} Else{ Response. write ("You

Asp.net array ref and out pass the array

Asp tutorial. net array ref and out passing arraysLike all out parameters, an out parameter of the array type must be assigned a value before being used, that is, it must be assigned a value by the called party.Class testarraysclass{Static void main

Total Pages: 1800 1 .... 1703 1704 1705 1706 1707 .... 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.