There's the Zend Encoder, which is fairly expensive. However, I suppose you could use the base64_encode function to do what you want: http://us2.php.net/manual/en/function.base64-encode.php. My idea is that you could create a script that would read in your PHP scripts using the filesystem functions. Then, it would encode the data it reads in and write it back to the PHP script. The PHP script, however, wouldn't execute, but it would be protected from prying eyes. Then, you would create a script that would read that file back in and decode it so you could work on it. I guess this is what you want.


Don Myers wrote:
Howdy, I am looking for a simple way to encode my PHP files from snooping
eyes. Not a MD5 Encryption or anything but a simple base64 or something. I
want to scare off the casual server snooper that know very little about PHP
but has access to the web directory for other reasons.

D Myers

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



Reply via email to