The entire page, PHP with HTML, is sent to the PHP engine.  It follows 
the instructions of the PHP code, outputting only HTML and error 
messages, and then hands the data to the web server which sends it to 
your browser.  Unless something damages the PHP engine, causing the 
webserver to serve the pages without being pre-parsed by PHP, the PHP 
should never be revealed in the user's browser -- in fact it should 
never be sent at all.
That's why if you keep your database connection information in an 
"include" file, it is recommended to make sure that you give that file 
the appropriate extension to be parsed by PHP, so that the data doesn't 
get sent out if the page is requested (it gets turned into PHP code 
which isn't passed along).  But of course, if something damaged the PHP 
pre-parser then you'd still be up a river.


Erik


On Wednesday, January 16, 2002, at 04:03  PM, 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to