One more thing. This code is rife with potential null pointer references and buffer overflows from trusting its input and assuming functions (e.g. index) don't fail and using error prone functions like sprintf.
Say, it wouldn't happen to come from the source code of PHP would it?
|