Getting Pre-Rendered Web Code

3 public posts in this discussion.

Post 1

is there any way i can a .php, .htm, .asp, etc file from a webpage before it has been rendered and appears on the browser.
the reason i want to do this is to look at the code.

Post 2

Unless you have access to the web server no. Your best bet would be to check that the coders input validation routines are strong and try to end the script with ?> tags or alike.

Of course if you own the server just use .phps extensions.

Post 3

.htm files are only rendered client side, so generally what you see is what you get.

.php and .asp are rendered server side, so no you can't look at the code before it is rendered as it would definately be a security risk if you could. If you're using a web page application that's open-source you can go to the owners website and download the source code there...