views:

106

answers:

5

Possible Duplicate:
Code obfuscator for php?

Hey,

I am needing a PHP obfuscation tool or script that prevents people from decoding or reading it. What is the latest and best one so far?

I heard of IonCube but theres decoders for it. It has to work with Curl/PHP coding. It has to be hard to crack or uncrackable.

+1  A: 

My first instinct is a snarky reply:

If you don't want someone reading your code, then don't use an interpreted language

My second instinct is to make mention of Zend Guard which I've heard works reasonably well:

http://www.zend.com/en/products/guard/

pygorex1
Theres no decoder for it right? Ill be obfucating over 5 scripts involving curl/php/mysql.
Raymond
@Raymond encoding != obfuscation. See "couple" vs "others" for answers on both.
Gordon
Gordon, I know that. I just need the best one ;)
Raymond
@Raymond then you should define what makes the *best* one in your opinion. Otherwise it is subjective in addition to being a duplicate of duplicates. @Pygorex sorry for hijacking your comment section.
Gordon
Ill stick with Zend. Is it a free product?
Raymond
@Raymond: can't you just search for its website? I'm pretty sure they will state if it free or not.
Lo'oris
A: 

i have used zend guard before, and i believe in it. ;)

rahim asgari
Ill use that then.
Raymond
A: 

From SO' Tag Wiki for PHP:

Q. Can I protect my PHP code from theft? If so, how?
A. There is no effective technical solution to protect, encode or encrypt PHP source code. There are many products that offer some levels of protection, but all can be broken with time and effort. Your best option is not a technical solution, but a legal solution in the form of a license agreement.

Gordon
+1  A: 

Try HipHop! It actually compiles your source code.

For more details, look here: http://wiki.github.com/facebook/hiphop-php/

Sebastian Hoitz
+1  A: 

if you don't trust the people you want to give the code then don't give these people the code

But there are following possibilities

  • pecl.php.net/package/BLENC
  • www.zend.com/en/products/guard
  • www.ioncube.com

but i think all these solutions will be possible to "break" with extensions like xdebug or any other php debugger

Martin Holzhauer