Viewing the asp source code

Results 1 to 2 of 2

Thread: Viewing the asp source code

  1. #1
    Join Date
    Dec 1969

    Default Viewing the asp source code

    How to view the entire Source Code of an asp page including the Asp objects?

  2. #2
    Renee Zhu Guest

    Default RE: Viewing the asp source code

    you can try following code:<BR><BR>&#060;%<BR>FileToRead=Request.QuerySt ring("file")<BR>whichfile=server.mappath(FileToRea d)<BR>Set fs = CreateObject("Scripting.FileSystemObject")<BR>Set thisfile = fs.OpenTextFile(whichfile, 1, False)<BR>tempSTR=thisfile.readall<BR>response.wri te tempSTR<BR>thisfile.Close<BR>set thisfile=nothing<BR>set fs=nothing<BR>%&#062;<BR><BR>Good luck.

Posting Permissions

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