Recommended: ASP instance: a simple ASP component-free upload class A simple ASP component-free upload class is sent out for everyone to see. Can do experiments! The following is the quoted content: <%@ language=javascript%><%va
ASP is the abbreviation of Microsoft Active Server Pages.
ASP is a server-side scripting platform developed by Microsoft. ASP is included in IIS. Currently, the highest version of IIS is version 5.0.
Through ASP we can create dynamic, interactive and efficient WEB server applications combining HTML web pages, ASP instructions and ActiveX components. At the same time, asp also supports scripting languages such as VbScript and JavaScript, and defaults to VbScript.
ASP is to return data to the browser after parsing the server, so with ASP, you don’t have to worry about whether the client’s browser can run the code you wrote. Because all programs will be executed on the server side, including all script programs embedded in normal HTML. After the program is executed, the server only returns the execution result to the client browser, which reduces the burden on the client browser and greatly improves the speed of interaction.
However, this also leads to a problem. Running ASP pages is slower than ordinary html pages, because ordinary html pages only require a browser to parse, while ASP must be a server to execute the entire page of code and then send data.
I won't talk about the advantages and characteristics of ASP. However, the security of ASP still needs to be mentioned. Since the code needs to be executed by the server before being sent to the browser, what you see on the client can only be parsed data, and the source code cannot be obtained. Therefore, the writer does not have to worry that his code will be plagiarized by others.
To browse ASP, you must pass the server parsing to browse. If you upload an asp file to a server that supports asp, you can browse directly. But if it is on this machine, you must set up your computer as a server. We don’t need to set it to be a LAN on stand-alone server, we just need to set it to be a stand-alone server.
The environment required for ASP to run is as follows:
·Microsoft Internet Information Server version 3.0/4.0 on Windows NT Server
·Microsoft Peer Web Services Version 3.0 on Windows NT Workstation
·Microsoft Personal Web Server on Windows 95/98
In other words, the window95/98/2000/XP we often use can run asp, just set it to a stand-alone server.
It boils down to one thing: window95/98 requires PWS; window2000/XP requires IIS. Only by playing the role of Asp.
Share: ASP tip example: ASP implementation of the most concise multi-query solution We often encounter multiple query problems, and long SQL statements often make monks confused. Especially when the client part fills in query conditions, it will be even more difficult to use ordinary methods. The following cleverly uses the identity of where 1=1 (
2 pages in total Previous page 12 Next page