From: e-letter

> On 19/08/2010, David McGlone <> wrote:
>> Yes it is. But your computer needs the correct software to view that
>> file in a web browser as if it was a web page. If you do not have
>> 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.


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 (
To unsubscribe, visit:

Reply via email to