CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 1999
    Location
    Pakistan
    Posts
    366

    How to create ASP

    OK Buddies,here;'s a very simple one
    How do I start creating Active Server Pages
    Thankx in Advance


  2. #2
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: How to create ASP

    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/kath...t_examples.asp

    I found this great for getting started.



    --
    Jason Teagle
    [email protected]

  3. #3
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How to create ASP

    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

  4. #4
    Join Date
    Feb 2000
    Location
    Indiana
    Posts
    308

    Re: How to create ASP

    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.


  5. #5
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: How to create ASP

    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

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

Featured