"I don???t even know php very well either??? I end up sort of translating into C or C++: ???If this were written in C, what would it be doing???? Then deal with php idiosyncrasies." . . . .