Re: [PHP] view source with opera

2002-06-13 Thread Adam Voigt
Nope, he's lying. PHP is server side, a browser is well, browser side. So, no. The only possible way is if you had your PHP actually printing (by say an accidentally closed ?php) which would cause it to be show, but since thats a programming mistake, thats not really a fault of the language.

RE: [PHP] view source with opera

2002-06-13 Thread Christoph Starkmann
I'm quite sure that this won't work... The server isn't delivering the php source, so the client will not get the source code but only the resulting code the script generated. So IMHO this is a hoax. Hi list I am using php on the company´s website that i work and now someone told

Re: [PHP] view source with opera

2002-06-13 Thread Adam Voigt
Oh, one other possibility besides my previous statement, if PHP is not properly configured on the server hosting the .php pages, it probably would just pass the PHP right to the browser since it doesn't know it's supposed to execute the PHP block of code. Ofcourse, PHP wouldn't work anywhere if

Re: [PHP] view source with opera

2002-06-13 Thread Stuart Dallas
On Thursday, June 13, 2002, 2:20:29 PM, you wrote: I'm quite sure that this won't work... The server isn't delivering the php source, so the client will not get the source code but only the resulting code the script generated. So IMHO this is a hoax. Unless your server has phps (source

RE: [PHP] view source with opera

2002-06-13 Thread Christoph Starkmann
I'm quite sure that this won't work... The server isn't delivering the php source, so the client will not get the source code but only the resulting code the script generated. So IMHO this is a hoax. Unless your server has phps (source view) enabled. If it has then you can see the

Re: [PHP] view source with opera

2002-06-13 Thread Stuart Dallas
On Thursday, June 13, 2002, 2:49:56 PM, you wrote: I'm quite sure that this won't work... The server isn't delivering the php source, so the client will not get the source code but only the resulting code the script generated. So IMHO this is a hoax. Unless your server has phps

Re: [PHP] view source with opera

2002-06-13 Thread Dan Hardiker
In short I think what everyone is trying to say is: it depends on how your server is setup. If you host your own servers then you need to read up on how PHP works in the chain of command and how its configured. If not, then reading up on the whole request and deliver process of HTTP where a

Re: [PHP] view source with opera

2002-06-13 Thread Dan Hardiker
Unless your server has phps (source view) enabled. If it has then you can see the source of any file by using the extension .phps. Awright! But then it would be possible with any browser... Unless I missed it, the OP never said it *only* happened in Opera. but unless we are assuming the