Programming | Tutorial One, ASP running environment
(a) If your system is Windows NT, you need to do the following.
Install the above version of IIS 3.0. Support for ASP is included in IIS 3.0. So you just have to install this IIS to support ASP
(b) If your system is Windows 95 or Windows 98, you need to do the following.
You will need to install the Personal Web server, the personal Web servers. If you are installing the personal Web Server in Windows 95, you will also install the following components, which are in the order of ASP components, Front page Extension, if you want to use FrontPage 98来 to edit the home page, You should finally install FrontPage 98.
If you are installing the Personal Web server in the Windows 98 CD, the ASP component, Front Page Extension, will be installed and you can install FrontPage only after you install personal Web Server 98 is OK.
Second, the preparation of ASP procedures
ASP code can be written in any editing text tool, the code is included in the middle of the <%%>, after writing, save as an. asp file is OK. Copy the file to the running directory of IIS, if it is a windows2000 system, default to C:\Intepub\wwwroot, and then enter the HTTP://127.0.0.1/file name in the browser. ASP can view the results. For example, open a notepad in which to enter
<% Response.Write "This is the first ASP program I wrote"%>
Then save the point, enter 001.asp Note To change the file type below to "all files" and then save and copy to the IIS run directory, the browser input http://127.1.1.1/001.asp can see the results of the operation!