Re: PHP Security - "view source code"
| From: | Richard Crawford | Date: | Wed, 16 Jan 2002 21:19:56 +0000 |
| Subject: | Re: PHP Security - "view source code" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80825@lists.php.net to get a copy of this message | ||
Well, if you do "View Source" on any browser, it will only show the source code of the HTML that the page has rendered, not the PHP/Perl/ASP/Cold Fusion/whatever that was used to generate the HTML code. So using "View Source" will never show you the programming behind the HTML.
That said, I don't believe it is very easy to view the source code of a PHP program that generates a web page. If you can get into the server, you can see the program. I have never tried it, so I'm not sure. Standard security measures apply.
Phil Schwarzmann wrote:
How easy/hard is it to view the PHP source code when you're at website? I noticed when I was using Internet Explorer, if I pressed "view source"...it would show the HTML but not the PHP. -Phil-- Sliante, Richard S. Crawford mailto:rscrawford@mossroot.com http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Yahoo!: rscrawford MSN: underpope@hotmail.com "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupery "Push the button, Max!"