Archive for the ‘PHP’ Category

obfuscating PHP code

Monday, January 29th, 2007

Recently I needed to obfuscate PHP code. Nothing fancy, no bullet-proof protection needed. The goals were:
* complicate removing of license protection by an unexpierenced person, and
* prevent code re-use by a third party.


Textual Confirmation

Sunday, October 29th, 2006

I’ve got stuck in phpBB. I’ve just announced new anti-spam hack: Textual Confirmation. Yet another must-have for phpBB. Discussion on

Unit testing for phpBB

Saturday, October 21st, 2006

I was writing a MOD for phpBB, and at some moment I found I can’t go further without unit testing. I found it’s quite a hard task because phpBB is written without testing in mind. However, unit testing for phpBB is possible.


unit testing for PHP

Tuesday, October 17th, 2006

At some moment, I found that I’m afraid of writing new code. The reason was simple. I wrote in PHP and, obviously, without unit testing. I got the programmer’s block as punishment. To overcome the block, I had to create tests first.

As usual, the first thing I made, was searching Usenet. And I’m astomished by the result. The search for “unit testing” in the group “comp.lang.php” generates on four (4!) pages! PHP developers suck!


shared phpBB installation

Wednesday, September 20th, 2006

I have several domains, some of them need a phpBB forum with modifications being added permanently. It’s inconvenient to maintain several copies of the same files. Therefore, I’ve developed a method to store only one copies of files.


phpBB Antispam HOWTO

Monday, July 10th, 2006

Supporting community sites causes pain. One of the new pains is phpBB spam. I’ve collected my recommendations in the article “phpBB Antispam HOWTO“.

alternative bbAntiSpam description

Wednesday, June 14th, 2006

Recently I submitted bbAntiSpam to, and now it is accepted. The site owners, however, have re-written the description:


publishing code in WordPress

Friday, June 2nd, 2006

WordPress blog engine automatically adds typography to postings. For example, it changes two dashes to the long dash, changes the usual quotes to different sorts of quotes. And yes, code listings are affected.


spam-free phpBB

Thursday, April 27th, 2006

I’m an owner of a small phpBB forum. Some time ago I was so tired of spam, that spent some time looking for a solution. I didn’t find anything I like, so I’ve developed the solution myself:


I highly recommend it to everyone. Installation is less than 1 minute.