i was just wondering if someone new a way to secure a forum of Javascript posts.
<img> and <a> tags are allowed. If someone would do <img src="javascript:alert(document.cookie)"> it would not be that great. (the same for <a>)
Is there a way to figure out that this image or link contains javascript and i'm just deleting that part of the message?
i guess it would be something with eregi and strpos but i'm not quite sure how to do it.
Any Help would be appreciated, thanks.

New Topic/Question
Reply


MultiQuote



|