News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PerishablePress.com:
Encoding & Decoding PHP Code
June 08, 2012 @ 10:56:26

On the PerishablePress.com site there's a recent article showing you how to encode your PHP project's code (though some of the methods are more obfuscation than actual encryption).

There are many ways to encode and decode PHP code. From the perspective of site security, there are three PHP functions - str_rot13(), base64_encode(), and gzinflate - that are frequently used to obfuscate malicious strings of PHP code. For those involved in the securing of websites, understanding how these functions are used to encode and decode encrypted chunks of PHP data is critical to accurate monitoring and expedient attack recovery.

They show examples of several methods of encoding/obfuscation of the code including rot13, base64, gzinflate/gzdeflate and links to some other resources.

0 comments voice your opinion now!
encoding source obfuscate tutorial


blog comments powered by Disqus

Similar Posts

Raphael Stolt's Blog: Phplocing your projects with Phing

NetTuts.com: Understanding Hash Functions and Keeping Passwords Safe

DevShed: Validating URL Protocols, Hosts and Paths with Filters in PHP 5

James Morris' Blog: A Symfony2 Console Command and the Foursquare API Venuehistory

SitePoint PHP Blog: Social Network Style Posting with PHP, MongoDB and jQuery - part 1


Community Events

Don't see your event here?
Let us know!


podcast interview install performance php7 laravel introduction series voicesoftheelephpant conference release framework opinion version example community symfony2 extension api library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework