Hello! Everyone, I have a problem of BACK SLASH INSERTION.
I am developing a Blog or Comment submission interface through Web_PHP. Since I am dealing not only English but also other languages, I use UTF-8 as default charcter set at Apache. I used a simple functions to write and read the UTF-8 text files.
fwrite(); and readfile($filename);
Here comes a problem. All single quotes are modified to have back slash (\), and each time read and write that text, back slash are increasingly inserted. See example below.
Qu\'est ce que s\'est passé.
Alors les résultats de recherche n\'ont plus le lien d\'agrafes de multimédia.
How to stop inserting those extra slashes? Suggestion please!! Help!