diff options
author | deva <deva> | 2008-10-04 10:38:03 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-04 10:38:03 +0000 |
commit | cce5e7710295021b41d9aaecc503a60fb99256be (patch) | |
tree | 660235be91fb821e976c7ae62347eb368ce87524 /utils/convert.php |
Initial revision
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 |