I'm writing a script to do random signatures for the ubb board. They way it works is, the program searches the signature for the string "[RANDOM]" then replaces it with a phrase randomly chosen from a text file.
The problem is that it seems to add posts by unregistered users with the name "6" or "reg" or "reh" at the beginning of the thread and posts by unregistered users with no name afterwords. ALso, in the post, only the first line of the text file is ever used, and other text in the sig disappears.
I've narrowed it down to somwhere in this bit of code:
any ideas? Sorry if it's a bit of a bad description.. not thinking clearly right now..
------------------
Programming today is a race between software engineers striving to
build bigger and better idiot- proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning.