thanks bang Kanal, i'm really2 confuse find this script before.
but now i got it

thanks again

edit :
i had a problem with form.
this little solved my problem, but not sure :
[spoiler]//taken from artviper.eu | with little modifications
//strip <script , & # 6 0;script , <script
var aText = $('thingy');
$$('#thingy').addEvent('keyup',function(){
if(aText.value.contains("<script")){
aText.value = aText.value.replace("<script","");
}
//[b]& # 6 0;[/b] without spaces
if(aText.value.contains("& # 6 0;scriptscript")){
aText.value = aText.value.replace("& # 6 0;scriptscript","");
}
if(aText.value.contains("<script")){
aText.value = aText.value.replace("<script","");
}
});[/spoiler]
or this :
[spoiler]//taken from artviper.eu | secure ajax form
//no html tag
var aText = $('thingy');
$$('#thingy').addEvent('keyup',function(){
if(aText.value.contains("<")){
aText.value = aText.value.replace("<","");
}
});[/spoiler]
any idea to securing/validating form with other ways ?
please gimme
Last edited by gumscumbag (2008-08-25 22:47:09)