The function get_magic_quotes_gpc() tells us whether the magic quotes is switched on or no. Post navigation How can we automatically escape incoming data? Is it possible to remove the HTML tags from data?