Re: [PHP] Simple code obfuscation

[email protected] (John Black)
Newsgroups php.general
Message-ID <[email protected]>
Brian Dunning wrote:
> .... But I do want to add some level of code obfuscation to prevent them 
> from making simple changes to my code that allow them to exceed the 
> privileges they've purchased.....

I have used PHP Processor 1.5 from http://gridinsoft.com for this. Back 
when I was looking around it was the only offering which did not require 
me to modify my source code and it does not require the clients to 
install anything. This one is not free but it is very reasonably priced.

It is also a PHP editor but I never used it for that. You can simply 
import a fully project, I used to run a project with multiple subdirs 
and about 1.5MB of source code through it.
It can remove all newline and linefeed chars, replace $variable with 
$asdFDG and do the same with functions and classes.

You can exclude global variables, functions or classes by using a simple 
checkbox list.

This program has performed very well but I stopped using it because 
sometimes it clashed with pages containing javascript, PHP and html so I 
would have to test everything twice.
Using it on pure PHP scripts should work flawless and I will probably 
start using this program again for my license handling class.

I know that this tool is available for "free" on some websites but make 
sure you purchase the latest edition. The program had a bug when 
generating random variables or function names. I reported it and they 
fixed it, so get the patched version or you will not be very happy :)

-- 
John
RIP jacky.network-technologies.org
[root@jacky /]# uptime
  05:09:18 up 607 days, 23:17
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.