Most PHP files will be like regular text files, and you can use any standard
viewer to see them, as long as you have the SOURCE (original) file. You
can't get a php file by just going to that file on the web and getting it.
If you saw an interesting message board that was programmed in PHP, you
couldn't just view the HTML source and expect to get the PHP code. That is
like taking a photograph of a running program with your camera and hoping
that it will somehow let you change that program.

If you are seeing PHP as binary code, that probably means that it was put
into a program called the Zend Encoder. That program encrypts your program
code so you can sell PHP programs and you don't have to worry about people
stealing your code or giving it away for free once they have bought it. So
if you have an encoded/encrypted PHP file, then you cannot change it or view
it. However, MOST PHP files are like regular text files and you CAN change
and view their code.

- Jonathan


-----Original Message-----
From: Leo Tung [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 8:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Viewing Php code


Hi all,

I am a newbie of php. Now I am learning the php from reading some
existing on a server which is already compiled as running of Apache and
PHP. However, there is a problem on reading all php code as all are
binary. My question is why all php is interpreted in binary and How can
I use any standard viewer, such as wordpad or emacs etc to viewing them?

Thanks for any help.

Leo


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

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

Reply via email to