Re: How to encrypt php source code.

From: Date: Mon, 08 Jan 2001 05:11:42 +0000
Subject: Re: How to encrypt php source code.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33184@lists.php.net to get a copy of this message
> Isn't it possible for a PHP user to encrypt their source code, and the > encrypted codes still can run on Linux server? Nope - the PHP interpreter would have to decrypt it. You *could* take the PHP process and dump it, and undump it every time the page is hit, but I really don't think you want to do this. Even then, it's not encrypted, just difficult to read. What's your goal? (Why do you need to encrypt your source code?) Realize that a surfer won't be able to read the PHP files themselves -- only the output from PHP. If you're concerned about getting the files onto the server securely, use SSH/SCP. If you're concerned about another user on the server reading the raw files, your server isn't set up right. If you're concerned about the sysadmins reading your files, get your own box. =-) best, Jeff

« previous php.general (#33184) next »