in reply to How to use tr///
The reason I am trying to use the code above is: I have someone abusing one of my web forms. They add lines in the form which include [/url][. So, I was trying to write a bit in my script that picks this up and recognises it as this abuser and stops him from being able to send his spam through my form. I have tried IP blocking but he obviously has a dialup account and it keeps changing his IP address, so the next best thing I could think of was to block him when the script sees this text. If anyone has a better idea on how to stop people from abusing my web forms it would be appreciated. Thank you again.$value =~ tr/[/url][/[/url] [/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use tr///
by SheridanCat (Pilgrim) on Dec 17, 2006 at 02:44 UTC | |
by Anonymous Monk on Dec 17, 2006 at 03:23 UTC | |
by chromatic (Archbishop) on Dec 17, 2006 at 05:56 UTC | |
by j3 (Friar) on Dec 18, 2006 at 01:10 UTC | |
by Anonymous Monk on Dec 17, 2006 at 06:01 UTC |