diff options
Diffstat (limited to 'utils/convert.php')
-rw-r--r-- | utils/convert.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/convert.php b/utils/convert.php new file mode 100644 index 0000000..6ba1964 --- /dev/null +++ b/utils/convert.php @@ -0,0 +1,11 @@ +<?php + +function convert($message) +{ + $message = stripslashes($message); + $message = htmlspecialchars($message, ENT_QUOTES, "UTF-8"); + // $message = utf8_encode($message); + return $message; +} + +?>
\ No newline at end of file |