Click to See Complete Forum and Search --> : How to create ASP


chem1
February 20th, 2000, 11:00 AM
OK Buddies,here;'s a very simple one
How do I start creating Active Server Pages
Thankx in Advance

Jason Teagle
February 21st, 2000, 06:07 AM
First, you need a server capable of (and an administrator willing to!) running ASP scripts.

Second, an ASP is a 'normal' HTML file with script (VBScript by default) embedded in

<%

%>

tags.

The simplest thing to do is to write something to the resulting HTML page:

--- [FILE SAMPLE - Can be created in a standard text editor] ---
<HTML>
<HEAD>
<TITLE>My First ASP Page</TITLE>
<%
Response.Write("<H1>Hello, ASP world!</H1><BR>")
Response.Write("<HR>")
%>
</HEAD>
<BODY>
</BODY>
</HTML>
--- [END SAMPLE] ---

The result will be a page which has

Hello, ASP world!

in a heading style followed by a horizontal ruler.

In order to view an ASP page as intended, you MUST access it through an URL mapped to your server - if you just bring up the file from Windows Explorer into your browser it will not show anything - it needs to go through the server to be run.

A search on the net for "ASP tutorial" should turn up some good stuff, but here's a link to start with:

http://www.web-savant.com/users/kathi/asp/samples/script_examples.asp

I found this great for getting started.

Chris Eastwood
February 21st, 2000, 06:18 AM
There are also lot's of resources over at :

http://www.aspalliance.com - and plenty of good tutorial's over at : http://www.aspalliance.com/glenncook/



Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb

Kyle Burns
February 21st, 2000, 09:10 AM
I know you're getting hammered with "check out this site", but http://www.learnasp.com did a wonderful job getting me started with ASP. If you want a place to practice, http://www.ewebcity.com has free ASP hosting with 30 meg of space and Access 2000 database support.

Chris Eastwood
February 21st, 2000, 09:26 AM
Thanks for the 'ewebcity' link - it's good to see that you can now get ASP driven free sites.

Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb