Encypting PHP Code?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Mr Tech
Forum Contributor
Posts: 424
Joined: Tue Aug 10, 2004 3:08 am

Encypting PHP Code?

Post by Mr Tech »

Hey there,

Do you happen to know, if possible, how I can encrypt this PHP code so that it cannot be modified by the client? I think I've seen it before.

Thanks

Ben
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

I'm sure if you googled you'd find it pretty quickly.

I belive there is a ZEND product that encrypts the code.. can't quite remember the name.
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

thjeres lots of them. i would go look at the zend one, i heard its pretty hard to crack. i forget the name of the one i played w/, but i downloaded a prwritten script for something once and it was encrypted. i waned to see the source so i went to the website of the company that encrupted it to see what it was about. they wanted like $60 to do thier encryption on a script, so it def wasnt a cheap one....

i cracked it in about 2 hours :) it was pretty lame, because im no means a hacker.

it was just a bunch of str_replace, for loops, eval, and includes.
User avatar
Mr Tech
Forum Contributor
Posts: 424
Joined: Tue Aug 10, 2004 3:08 am

Post by Mr Tech »

Thanks guys,

yes, checked out the zend one but it's a bit more then what I'd like to spend.

A couple I found from searching in some forums were:

http://www.ioncube.com/
http://www.sourceguardian.com/

Anyone used these or can anyone recommend some other software below the $300 mark?

Cheers!
Steveo31
Forum Contributor
Posts: 416
Joined: Sun Nov 23, 2003 9:05 pm
Location: San Jose CA

Post by Steveo31 »

Just curious to why you would need one... I mean, the only way you can get a script is through FTP, right?
djot
Forum Contributor
Posts: 313
Joined: Wed Jan 14, 2004 10:21 am
Location: planet earth
Contact:

Post by djot »

-
He gives away his code to his clients, what in this case is client=customers :)

djot
-
User avatar
Mr Tech
Forum Contributor
Posts: 424
Joined: Tue Aug 10, 2004 3:08 am

Post by Mr Tech »

That's correct, plus I am adding an unlocking key to the script so it can't be used on other servers other then the ones I allow.

Thanks
Ben
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Post Reply