Results 1 to 6 of 6

Thread: Learning ASP!

  1. #1
    Guest

    Unhappy

    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.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    ASP is very simple, simply enclose your code in <% %> tags:

    Code:
    <%@ 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>
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Addicted Member
    Join Date
    Jan 1999
    Posts
    173
    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/
    "To the glory of God!"


  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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)
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    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
    Mark
    -------------------

  6. #6
    Addicted Member
    Join Date
    Jan 1999
    Posts
    173
    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.
    "To the glory of God!"


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width