compile php to prevent tampering

andrew67 used Ask the Experts™
hi all

for some reason unknown to me one of our clients has requested to host his site in house. ok but he wants us to give him our source php code.  code by the way that has taken me over a year to fully develop to the stage it is at now.

does anyone know of a way that i can encrypt / compile the php so it cant be edited / copied / duplicated after being reskined on numerous sites,

sorry for the small amount of points i dont have many left
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®


sollution found

Ioncube and Zend Encode can get decrypted by hooking method. They are not actually compiling the code. They encrypt and obfuscate and let php extensions de-obfuscate / decrypt. If you hook PHP Zend engine, you can easily get the source code that sent to engine from extensions.

If you actually want to compile your application, i recommend to use phc or roadsend.

Good luck.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial