note 32305 deleted from function.gzcompress by alindeman

From: Date: Fri, 23 May 2003 12:17:25 +0000
Subject: note 32305 deleted from function.gzcompress by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48877@lists.php.net to get a copy of this message
Note Submitter: Richard ( netwiz101@hotmail.com ) ---- I have come up with an interesting use for the Zlib compression 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 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 (#48877) next »