[PHP] web visitor viewing a script?

2003-01-04 Thread Larry Brown
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

RE: [PHP] web visitor viewing a script?

2003-01-04 Thread Timothy Hitchens \(HiTCHO\)
AM To: PHP List Subject: [PHP] web visitor viewing a script? 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

Re: [PHP] web visitor viewing a script?

2003-01-04 Thread Michael J. Pawlowsky
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...

RE: [PHP] web visitor viewing a script?

2003-01-04 Thread Larry Brown
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