![]() |
|
|||||||
| Computer Help Having problems with your computer hardware or software? Anything related to building, upgrading, repairing and maintaining your PC should be discussed here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Wow, this got a little buried in spam!
Code:
$body = preg_replace("/<[^>]+>/", "", $body);
|
|
||||
|
aanshu.
Did you get your question answered? See-ya
__________________
Mitchell Baker Forum Moderator | Questions? PM me -------------------- CoffeeCup Software Ambassador Get 20% Off CoffeeCup Web Design Software Use this code when you checkout: 226STS -------------------- www.getcoffeecup.com |
|
||||
|
Yes thanks... The situation was quite bad. The spam was coming in thru the feedback form on my site! :-) I'm not sure what I tried exactly but it was something like 'IBBoard' suggested. But my solution dint work. It was however possible for me to setup a filter (using cpanel). So now I don't have this problem. I'm not an expert in php so I asked a friend to help me. He too came up with a similar solution; that too dint work. :-) But I'll try both solutions mentioned here and see how they differ in function. Thanks drachma and IBBoard. Sorry for the late reply; I've been busy with a lot of things. |