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;
In reply to Re: How to use tr///
by Anonymous Monk
in thread How to use tr///
by ApolloOne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |