PDA

Click to See Complete Forum and Search --> : Learning ASP!


Jul 1st, 2000, 09:37 AM
I found many free hosting services offering asp capabilities, but I have no idea how to use asp, and I have had no sucess when trying to find websites to learn ASP,
I am planning on buying a book as soon as I get about 10 dollars more.

Thanks for your help.

parksie
Jul 1st, 2000, 04:40 PM
ASP is very simple, simply enclose your code in <% %> tags:


<%@ language=VBScript %>
<%
Function MyFunction(sMyString as String)
MyFunction = "<i>" + sMyString + "</i>"
End Function
%>
<html>
<body>
<%
Response.Write "<b>Hello from ASP</b>"
%>
<br>
<%
Response.Write MyFunction("And again")
%>
<br>
Bye!
</body>
</html>

vbsquare
Jul 1st, 2000, 06:00 PM
Oops! In ASP all variables are Variants, and you can't declare variables as a specific data type.If you do then ASP will throw up an error. For more help check out http://www.vbsquare.com/internet/ and http://www.activeserverpages.com/

parksie
Jul 2nd, 2000, 10:28 AM
sorry. forgot...haven't used ASP in a long while...details tend to drop out. (I moved to php3/4 because all the hosting providers I found were on Unix)

Mark Sreeves
Jul 3rd, 2000, 02:39 AM
denniswrenn

Install PWS (Personal Web Server free from M$) on your own PC to develop your scripts on.

You don't really need to buy a book.

I never have!
( Hmm... but are my scripts any good?! :) )

Here's a good starting point:

http://www.4guysfromrolla.com

vbsquare
Jul 3rd, 2000, 10:57 AM
If you can get NT because when I tried developing ASP with PWS 1 every time you make a type and ASP throws up a script error PWS crashes out.