Thank you guys for the confirmation and ...yes I got it. :(

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388

-----Original Message-----
From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 04, 2003 8:52 PM
To: Larry Brown; [EMAIL PROTECTED]
Subject: Re: [PHP] web visitor viewing a script?

or rename the file to .phps
for PHP source. Many servers recognize this mime type as source and send you
the file.

But if you are thinking about security...  the script is compiled and
executed on the server.
What you see are the results of the application.

Get it?

This is good and bad...  Because it means you can only run each application
once and then you have to call it again.
Possibly with different parameters etc.

It's why I also use JavaScript. The application resides on the client.
Meaning the client can interact with it,
So lets say you have 2 select boxes. You want to populate the second one
with data depending on the selection of the first
with out reloading the page. This can be done in JavaScript. Not in PHP.
When doing something like that I use PHP to populate
my javaScript arrays and JS handle the interaction with the client.


Mike




*********** REPLY SEPARATOR  ***********

On 04/01/2003 at 7:17 PM Larry Brown wrote:

>This came up in another group and I just wanted to know from the experts
>whether this is possible.  Being someone well versed in PHP can you visit a
>web site, hit a script in PHP and be able to view the script on the page
>rather than just the html it generates.  Is it true that the only way to
>view the script itself is to have some problem with the web server or have
>a
>local login for the server?
>
>Larry S. Brown
>Dimension Networks, Inc.
>(727) 723-8388
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to