Several years ago, I wrote an article about this, and it was really a mess, but the PHP community understanding about autoloaders and namespaces was a lot worse than it is today. This article attempts to amend and supercede the original, and explain the magic.
An example of partial application in PHP, using closures to implement functional-style programming. This technique helps to collapse loops into functions, and shorten code.
This article is based on an older article that has been cleaned up and improved.
I was getting lost one some web page and read about PHP code obfuscators. There are a couple out there that are pretty expensive… so instead of taking care of immediate responsibilities, I wrote one.
Here’s the URL: http://riceball.com/misc/php-obfuscator/
An explanation of how a tracking pixel works, with some sample PHP code that implements a simple event tracking pixel.
This is a small IP address blocking “firewall” for an old PHP based website. It’s totally basic, with no features at all. This is for those annoying situations when old software contains security holes, and you find out in the logs, when you see some queries with a long string of SQL-like code.