note 32306 deleted from function.base64-encode by nlopess

From: Date: Sat, 01 Sep 2007 16:26:23 +0000
Subject: note 32306 deleted from function.base64-encode by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130045@lists.php.net to get a copy of this message
Note Submitter: Richard Fairthorne netwiz101 at hotmail dot com ---- I have come up with an interesting use for the base64 features. Code obfuscation! Here's a working example you can use if you want to protect your source code from greedy clients who will rip out your copyright notices or modify the code for their own use without paying you: http://richard.fairthorne.is-a-geek.com/utils_obfuscate.php This page uses a combination of Zlib and base64_encode/decode features to obfuscate and compress web pages which can be displayed on any php enabled webserver with Zlib. It does not use any variables or disk storage, and doesn't affect the "state" of your php program, so you can also use it to compress function libraries, configuration files, or whatever you wish. Enjoy!

« previous php.notes (#130045) next »