View Source!!!

Results 1 to 4 of 4

Thread: View Source!!!

  1. #1
    Waqas Ahmad Guest

    Default View Source!!!

    Hello All!<BR>As we all know that we can view source HTML of web pages that we see in Browsers. Can this process be done through scripting.<BR>ie the source HTML is saved in text file.<BR>thanks.

  2. #2
    Panos Barbalias Guest

    Default RE: View Source!!!

    The ASP pages is executed on the server and gives to your web browser pure HTML. You cannot see the asp script unless you have direct access to the asp files.

  3. #3
    Waqas Ahmad Guest

    Default RE: View Source!!!

    Wel U r right but <BR>I am talking about simple HTML files. can we save them in a text file along with HTML tags just like we do manually.

  4. #4
    toby_2 Guest

    Default New thread anyone?

    On the server side you can use the FileSystemObject and to write to a text file - naturally this can contain html tags.<BR>-I think this is what you are asking...<BR><BR>Viewing the source of asp files from within in a client browser is sometimes possible...<BR>(New thread...any additions??)<BR><BR>::$DATA when appended to a URL sometimes displays source.<BR>This was a feature of ?IIS2?, and surprisingly still works on<BR>a few sites.<BR><BR>OR<BR>If the server admin person made a full IIS install and didn&#039t delete the sample code, you can write a URL to guess at the location of the viewsource asp file, and append a known filepath.<BR>Sometimes works too.<BR><BR>AND<BR>A very long string can be appended to the URL(i don&#039t know it offhand) and that too shows the source. MS only recently released a fix for this..., so it works more often than the above.<BR><BR>Any More?<BR><BR>

Posting Permissions

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