Fix:
- Code: Select all
Open]*Java script is not allowed in posts[/color]',$lookfor,$message); $lookfor = "</script>"; $message = str_replace('[color=red]Java script is not allowed in posts*[/color]',$lookfor,$message); Open]*Java script is not allowed in posts[/color]',$message); $lookfor = "</script>"; $message = str_replace($lookfor,'[color=red]Java script is not allowed in posts*[/color]',$message);
This will replace the java tags with this message (Java script is not allowed in posts) in the post and also disable the script...
Mike
PS if you install this fix post your results here, needs testing before inclusion with 1.4.1 Beta...