I really love this piece of code, not only does it fill a need but does it in a very user friendly way.....but it has a BUG ahhhhhhh!
I am sure if I had time I might be able to find it since I do some PHP coding my self and love to play Chess but due to circumstances I can only describe it in a minimal way: It found a false checkmate and of course the way the program is written it would not allow the game to continue in any way. I wish I was able to provide a view of the position, but it is lost forever. It involved a check by a black rook near the edge of the board where the king was ALMOST but not quite mated. (actually white continued using other software and won the game).
Regards and tears...