iwats asp
Start
 
News
 
Course Notes
Intro
What is ASP?
Uses
Requirements
Basic syntax
Response
Request
IF and CASE
Includes
Sessions
Common Errors
Using Your Code
 
Course Test
 
Resources
Using your code

In order to use your code, you will need to either load it locally via PWS/IIS on your PC, or upload it to a server. Since the directory layouts and upload methods very from server to server, this section will only cover how to view your ASP code locally.

By default, the root directory of IIS/PWS is C:\inetpub\wwwroot\. This is the folder that's loaded when you enter http://127.0.0.1/ or http://localhost/ into your browser. To load any ASP files in that folder via your browser, you simply add that filename to the end. To load test.asp, you would type http://127.0.0.1/test.asp. If the file is in a subdirectory, you would append the directory name and file name. Thus, C:\inetpub\wwwroot\jsmith\bio.asp would become http://127.0.0.1/jsmith/bio.asp.