We have to enable the Magic quotes entry in the configuration file of PHP. Post navigation How is it possible to remove escape characters from a string? What does the function get_magic_quotes_gpc() means?