How to encode php scripts

Some times for the security purpose you want to encode your php scripts so that no one can see your php code. To perform this job there are online resources as well as softwares are avilaible.

These resources are capable to encode your php script and give u encoded form of php script, if you run and execute that encoded form of your script u will get same result.

Example:-

Normal php script

echo "Pakistan";

Encoded Version

$_F=__FILE__;$_X='Pz48P3BocCA1Y2gyICJQMWs0c3QxbiI7ID8+';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));

There are both free as well as paid resources that gives you the facility to encode your php script, the best free online resource is http://www.byterun.com/free-php-encoder.php

0 comments: