ASP collection code

'function: ASP collection Code ' Author: wangsdong 'remarks: the original Program is supported. Keep this information, thank you url = "http://sports.sina.com.cn/k/2008-09-15/04593948756.shtml" STR = gethttppage (URL) Title = strcut (STR, "",

ASP disguised as JSP

1. Effect: 1. Program of ASP. JSP is a suffix that can cut off the confidence of Some attackers. 2. It's okay to be cool. 3. However, it's still the ASP program kernel, just like a snake and a vest. 2. method 1. after the IIS environment is

Practical functions of ASP compressed Access Database

Const jet_3x = 4Function compactdb (dbpath, boolis97)Dim FSO, engine, strdbpathStrdbpath = left (dbpath, limit Rev (dbpath ,"/"))Set FSO = Createobject ("scripting. FileSystemObject ") If FSO. fileexists (dbpath) thenSet engine = Createobject

ASP program implements pseudo-static page source code

A very simple tutorial, dedicated to those who like Seo. Set http: // www. ***. CN/Article. asp? Replace logid = 26 with http: // www. ***. CN/Article. asp? /A26.html. IIS-based URL rewrite is not required through IIS + isapi_rewrite 1. The

The now () function called in the ASP program displays the problem in the morning and afternoon.

ASPProgramIn, when the function now () is called, the display time is always like "08:12:56" and "Morning" and "Afternoon". The solution and the final solution are as follows:This is usually because the server is set in this way. First, view the

[Collection] common JavaScript operations in ASP. NET

1. Add confirmation for the button control To add client events to server controls, you must use the attributes attribute. The attributes attribute is an attribute of all server controls. It is used to add custom tags to the final HTML. Assume that

ASP deletes nodes in XML

Delxmlchildnode. asp Id = request ("ID ")If isnumeric (ID) = false or isnull (ID) thenResponse. Write ("the parameter is incorrect. Please return it! ")Response. EndEnd if Strsourcefile = server. mappath ("./") & "/books. xml"'Obtain the path of

Asp.net page commands and events (from: http://my.oschina.net/dxf/blog/269)

@ Page command defines page attributes The @ page command allows you to specify attributes and values used to parse and compile pages for ASP. NET pages (. aspx. This is the most common command. ASP. NET pages are an important part of ASP. NET, so

Asp.net reads configuration information for Web. XML (from: http://blog.csdn.net/donhao/article/details/6678755)

We can put some configuration information in Web. xml and then read it through the corresponding functions. Asp.net provides a very convenient operation method. As follows: Add the following content to the appsettings of Web. xml:View Plain

Solve the problem that only HTM files can be run after IIS is installed and ASP cannot be run

Problem: I installed IIS and put my ASP file (index. ASP) in the default home directory wwwroot folder, open IE and run http: // localhost/index. ASP, but the page cannot be opened, HTTP 500 internal server error. however, if you enter http: //

ASP. NET Cache Technology Learning-page cache (output caching)

In the past, writing programs never used caching (the level is too high). Fortunately, the website traffic was very small, so the performance problem was not prominent. However, if you do a formal project, regardless of the size, the cache

Differences between ASP and PHP

I. Why does Foreign Trade website construction adopt PHP Technology? Currently, foreign trade websites are usually built using ASP or PHP technologies. ASP technology is simple and can meet the vast majority of Foreign Trade website construction

ASP deletion and batch deletion code

Set C. Createobject ("ADODB. Connection ")Conn. cConn. OpenSet COM = server. Createobject ("ADODB. Command ") Com. commandtext = "delete from portal_articles where ArticleID =" + request. querystring ("ArticleID ")Com. activecCom.exe cute ()Response.

ASP call to open the EXE file

Webpage that allows ie6.0 to execute the EXE fileSpeaking of how to execute an EXE file in the space when the web page allows ie6.0 to browse, it is totally different from the 5.0 method previously written, the overall idea of 5.0 is to use an HTML

ASP hidden download address

If we know the actual path of a static file, for example, success! How can I prevent the downloader from obtaining the actual path when downloading 51windows.pdf on the website! This article describes how to use ASP to hide the actual download path

ASP Webpage speed improvement method 5 _ ASP skills

  Tip 1: Improve the efficiency of using the request set Accessing an ASP set to extract a value is a time-consuming and computing resource-consuming process. This operation contains a series of searches for related sets, which is much slower than

Use XMLHTTP and ASP to Implement Asynchronous webpage call _ ASP instance

Through the combination of XMLHTTP and ASP, we can easily complete asynchronous webpage calls.The Code is as follows:1. Create display. asp (this is the front-end display page)Note the four attributes of XMLHTTP. readystate.1: loading; 2: loaded; 3:

Six lines of code for ASP Component-less upload

At present, there are many upload classes without components. I have probably taken a look at it. Most of them are quite complicated to write, and some can only transmit text. The most important thing is that there are no 10 lines of code or less :),

ASP saves the remote image to the local device and obtains the first image.

This is my function in SNA News Collection System for Power 3.62.It can be widely used in collecting or adding articles online.The following is the code of the function program.'================================================

ASP to get screen resolution

'If you have automatically switched to execute this condition statementIf bint (TRIM (Request ("SW")> 0 thenSession ("myscreenwidth") = bint (TRIM (Request ("SW ")))Session ("myscreenheight") = bint (TRIM (Request ("sh ")))Response. Redirect

Total Pages: 1800 1 .... 1566 1567 1568 1569 1570 .... 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.