
May 10th, 2004, 04:48 AM
|
Major General
|
|
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Arcoscophile
Quote:
Originally posted by Gateway103:
The common method to prevent dp or tp is to restrict any user from posting more than 1 Messages in alloted time. I.e. if I make one post, then I won't be able to make another within say 30 seconds or something. This method works, although some posters find it annoying...
|
That's "flood control", which serves a different purpose, although it does eliminate the problem. However, this isn't really as simple as...
Quote:
As for checking identical contents, that'll be less effective and more work I think.
|
strcmp() is not really "more work", and is highly effective: I've used it myself to prevent double-lines: If the user Posts the exact same thing twice in a row, as indicated very trivially by strcmp'ing the Posts, it must be a multipost. This isn't hard, this is trivially simple.
|