From: e-letter > On 19/08/2010, David McGlone <da...@dmcentral.net> wrote: > >> Yes it is. But your computer needs the correct software to view that php >> file in a web browser as if it was a web page. If you do not have this >> software installed, then the web browser will ask you if you want to >> download the file instead. >> > The web browser views the php file as described previously; there is > no prompt to download the file.
David, If the server is set up correctly, it interprets the PHP code and only sends an HTML stream to the browser. The only way the browser would see PHP is if the server is misconfigured. The browser will simply display it as it would HTML. It doesn't know PHP from plain text. Actually, the browser could not process PHP, since most of the resources needed are still on the server. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php