경고창으로 메세지를 출력하는 경우 태그를 삭제

This commit is contained in:
gnuboard
2013-04-16 15:41:53 +09:00
parent 7535410874
commit 143f962aea

View File

@ -40,7 +40,7 @@ if($error) {
?>
<script>
alert("<? echo $msg; ?>");
alert("<? echo strip_tags($msg); ?>");
//document.location.href = "<? echo $url; ?>";
document.location.replace("<? echo $url; ?>");
</script>