Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

[1010] Beginning Active Server Pages

Last post 12-16-2006 9:38 PM by michael poxon. 22 replies.
Page 2 of 2 (23 items) < Previous 1 2
Sort Posts: Previous Next
  • 02-04-2004 9:30 PM In reply to

    • zabawka
    • Not Ranked
    • Joined on 02-04-2004
    • New Member
    • Points 10

    includes

    What do I do if I need to include a file from a remote storage site other than the one my website is being hosted on. The following doesn't work anymore

    <!--#include file = " www.someplace.com/somefile.inc " -->

    or even less the " virtual " call which starts searching the virtual directory the website is stored on.

    What now?

    Do I need to write a routine to access the file remotely then spilling it onto the page using response.write???


    • Post Points: 0
  • 03-31-2004 7:34 PM In reply to

    • butro
    • Not Ranked
    • Joined on 03-31-2004
    • New Member
    • Points 5

    you can not

    you can not include a file from a remote storage site other than the one your website is being hosted on , like writing <!--#include file = " www.someplace.com/somefile.inc " --> but by using asp tear codes you can if you have any support this features.
    • Post Points: 0
  • 12-12-2004 5:46 PM In reply to

    Question Mark?

    "The VB code can act on information passed to the page, such as from an internet form or a querystring (this is data passed in the URL after the ? ... take a look at this pages URL!)"

    http://www.developerfusion.com/show/1010 doesn't have a question mark in it...
    • Post Points: 0
  • 12-12-2004 5:52 PM In reply to

    It's not working ;_;

    Is there something special I have to do besides saving it as a .asp file, or does it just not work on my server? It just spits out the code, even HTML, as plain text.

    Code:
    <html>
    Let's see if ASP works!<br>
    <%
    Response.Write "Yep!"
    %>
    </html>
    • Post Points: 0
  • 12-28-2004 8:12 AM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,730
    • SystemAdministrator
    It does - you just can't see it We've got an ISAPI filter that rewritse /show/1010/ to something like /show.aspx?id=1010
    • Post Points: 0
  • 12-28-2004 8:13 AM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,730
    • SystemAdministrator
    Are you running IIS ? And are you viewing it in your browser via the correct URL? (ie something starting with http:// rather than file:// ) ?
    • Post Points: 0
  • 10-04-2006 6:26 AM In reply to

    Devil [6] .I want to know how to save the files.whats the extensions...

    hi,

    its first i started ASP.I want to know how to save the files.whats the extensions...Where can i get the sample programs

    • Post Points: 5
  • 12-16-2006 9:38 PM In reply to

    Re: [1010] Beginning Active Server Pages - absolute beginner!

        Hi,
    When I say I'm an ASP beginner, I mean it! I've only written one trivial bit of code, and got a blank page. I see now that's described in the article snippet below. I did indeed go to the saved .asp page on my hard drive!
    So my questions:
    I have XP, so IIS is presumably installed. In the snippet below, are 'localhost' and c:\inetpub\wwwroot the actual strings to type in? For example, I currently don't have a folder called "inetpub". Do I have to create one? And where on my actual server (starman.co.uk) should I put any ASP pages?
    Alternatively, is there a good introductory book you can recommend?
    • When you create an ASP page, you cannot view it on your hard disk by going to C:MyWebmyasppage.asp. It won't work! That references a direct page on your hard disk, and the server doesn't get a chance to parse any of the ASP code.
    • If you have IIS installed, it means your PC is a server (even if your PC is the only one which can access it)! You can access the pages on the server at http://localhost/ or http://PCName/. The physical location of your web site is by default C:\inetpub\wwwroot. Save your ASP pages there, and view them in a browser by visiting the URLs above.





    • Post Points: 5
Page 2 of 2 (23 items) < Previous 1 2