MyBB Community Forums

Full Version: PHP Code Encryption
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2010-09-03, 05:41 PM)N.Malcolm Wrote: [ -> ]A very simple example if you don't want to use anything too advanced.

$secret_code = base64_decode("TWFsY29sbQ==");
echo $secret_code;

It would output 'Malcolm'.

Base64 encoding isn't the safest though.
(2010-09-03, 05:42 PM)Dutchcoffee Wrote: [ -> ]
(2010-09-03, 05:41 PM)N.Malcolm Wrote: [ -> ]A very simple example if you don't want to use anything too advanced.

$secret_code = base64_decode("TWFsY29sbQ==");
echo $secret_code;

It would output 'Malcolm'.

Base64 encoding isn't the safest though.

Yes it definitely is not. I'd go for ionCube if you really want to protect yourself against piracy
If you really want to pay $199 for it, then go ahead.
(2010-09-03, 05:46 PM)N.Malcolm Wrote: [ -> ]If you really want to pay $199 for it, then go ahead.

It's better to pay $199 rather than having pirated versions of the program floating around the net and losing potential buyers.
I've found many applications which were supposed to be paid (like $100) being sold for $10 on a regular website. A lot of people would probably end up buying that (illegal) copy of the application without knowing that they were buying an illegal version of the application.
Ya, if you want to truly keep it out of a pirates hands $199 is nothing.(Especially considering it can be used for as many scripts as you like)
Ioncube do cheap online encoding too. Just upload an archived version of the script and then it will tell you how much it will cost. Toungue
Pages: 1 2