Author: scholar
ASP
(1) demonstrate some of the most basic methods for ASP dynamic website design. I believe that you have gained the most basic understanding of ASP through practice. This article will answer your questions, some basic skills of ASP dynamic website will be further introduced.
After the first article in this article, I have received a flood of emails from some of my friends, many of which were my first contact with ASP, therefore, many of my friends have suggested why the original code is displayed when I browse the examples in ASP article (1) in a browser? I have many friends who have encountered this problem, so I will answer it here. First of all, I want to emphasize that ASP is a server-side script environment, when a user requests from a browser to the Web server. when an asp file is created, the ASP script starts to run. Then, the Web server calls ASP and ASP to fully read the requested file, execute all the script commands, and send the Web page to the browser, this means that you cannot simply use the "open" command in the browser to browse the existing operating system (such as Win95 and 98. asp file; second, run. asp files require Server support. Currently, in addition to Microsoft Internet Information Server under WindowsNT, active Server can also be used for components of the Personal Web Server in MS Windows NT Workstation and MS Windows 95/98, so whether you're installing NT or WIN 95/98. You must install the server environment supporting ASP on the original system to run the. asp file on your machine. Since most of my friends have installed Win95 or 98, I will introduce how to run and browse. asp files under Win95/98. Because MSPersonal Web Server supports general Gateway Interface (CGI) applications, Internet database interface (IDC) applications, and IIS application interface (ISAPI) applications, it also supports running and developing ASP applications, so Win95 and later operating platforms have Sound website operation and management functions similar to NT. All you have to do is install the MS Personal Web Server on the existing Win95/98 system. We recommend that you install the latest version 4.0. After the installation is complete, PWS4.0 is automatically loaded when the system starts. Open PWS, select the "advanced" button in the left column (see Asp2a.gif in the figure below), and click the "/_ private" directory under "virtual directory, click "edit attributes" on the right, as shown in the figure. In the dialog box, you can edit the physical path and directory name of the virtual directory, in the figure above, the physical path of "/_ private" is "D: Inetpubwwwroot", which is the system's default WWW publishing root directory. Copy the sample test1.asp file in the previous article to "D: inetpubwwwroot "directory. Finally, you only need to select "execute" for the access permission of the virtual directory, and enter "http: // localhost/test1.asp "to run and browse the ASP program.
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