All PHP Tutorials
Ad Management
Counter
Email System
Forum and Guestbook
File Upload
Image Manipulation
Login / Members / Password
Pagination
Encode Script
Refresh / Redirection
Miscellaneous
All MySQL Tutorials
Create, Manage Database using phpMyAdmin
Connect to Database
Insert Data
Select Data
Edit Database
Update Database
Delete Database
Order Results



Home > PHP Tutorials
Encode PHP Scripts
Encode PHP Scripts
Convert and protect your PHP scripts to unreadable but still executable. This is a list of tools you can use to protect your PHP code. 
 

There're free and paid tools for encode your php script. Personally I like Byterun Online Free PHP Encoder for a small job, it's an online tool and cost nothing but if you're in a big project you may looking for other tools.

What will happenned to PHP scripts after encoded

Example
Before encode
<?php
echo "Hello World";
?>


After encoded
<?php $_F=__FILE__;$_X='Pz48P3BocA0KNWNoMiAiSDVsbDIgVzJybGQiOw0KPz4=';
eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLC
cxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GS
UxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>

As you see PHP code after encoded, you don't understand it, but this code still executable and the result is the same as result before encode.

Here is the list of tools

Online PHP Encoder Tools
Byterun Online Free PHP Encoder Free  
ionCube Online PHP Encoder $0.50/job  

PHP Encoder Software
ByteRun Protector for PHP $49  
ionCube PHP Encoder $199  
PHTML Encoder $119  
Zend Guard $696  
Sourceguardian $250  
NuSphere Nu-Coder $149  
Obfuscate PHP Freeware  
TrueBug PHP Encoder $24.95  
Random
 
PHP Pagination
This is a guide how to create a pagination in PHP like digg.com pagination style  
 
 
   
Hosted by Hostgator
© PHPeasystep.com 2005-2008