Web www.tizag.com

Your First ASP Script

Before we get into the meat and potatoes of ASP programming let's just run a very simple ASP script to check that your IIS installation and ASP are working properly. Open up a text editor and type the following ASP Code and save the file as "firstscript.asp".

firstscript.asp ASP Code:

<%
Response.Write("Hello Me")
%>

Be sure to save this file to the directory "tizagASP" as was mentioned in the previous lesson, Running ASP.

Launch Internet Explorer and type the following into the address bar:

  • http://localhost/tizagASP/firstscript.asp

If you see the following...

Internet Explorer Display:

Hello Me

...then you've got all the file saving and running mumbo jumbo figured out and you can start focusing on learning ASP! Now let's continue!





New - Tizag.com Forums!
Recent Forum Topics: