PHP encoder/encryption

Associate
Joined
30 Dec 2005
Posts
415
Wondering if anyone has any experience with protecting php from piracy etc...(like zend guard etc)

I'm looking for a free tool to encrypt php files, but one which will not need to install a plugin on the server to be able to decrypt it.

It doesn't have to be unbreakable...just a deterrant.

Are there any free PHP protectors out there? I've had a look but I can't find any free ones.

Can anyone offer advice?

Cheers
Rich
 
I don't know of any. Think of it this way: PHP is compiled at execution time. So the server needs to have the raw files to compile.

Zend works by encoding them to binary files which are like any other - a compiled program. So you then need the counterpart plugin on the server.

I don't know of any free ones, and I definitely don't know of a method of encrypting PHP files without a plugin on the server.

Ioncube has an online encoder which is nice and cheap, but not so many PHP installations run Ioncube.
 
Ah dammit.

I found one (PHTML Encoder ), which claims the following
There are three ways of usage encoded scripts: substitution of existent PHP engine's library file, installation as PHP extension and self-decodeable scripts. In last case you don't need any changes in PHP installations.


I'm quite surprised there aren't aren't any convert to binary utilities out there...I would have thought there would be quite a high demand with people releasing their projects..
 
I would do that, though this my problem.

I wish to have a file (api.php), which is included from the main system code. It would allow me to check the user was using a registered copy of the system, and also allow me to do updates etc...

The problem being the user could just remove the require_once("api.php") statement, so then I would have no knowledge of who is using the system etc..
 
I guess thats the best way then!

The main point is notifying me when the system is installed, so I can keep checking who has it installed to see if they are complying to the license.

I'd better start burying code all over the place then, and keeping a note of where I put it!
 
Ah so it basically changes all the variable names :)

The problem with that method is I would have to convert the entire system, and wouldn't be able to just do odd pages (which I want to do), as the variable names wouldn't be the same.
 
Last edited:
toastyman said:
Ah so it basically changes all the variable names :)

The problem with that method is I would have to convert the entire system, and wouldn't be able to just do odd pages (which I want to do), as the variable names wouldn't be the same.

The bigger problem is that someone could just run the code as is so long as they didnt want to edit it massivley
 
Back
Top Bottom