Stripslashes and Addslashes MQGPC

Submitted by ltp on Fri, 06/03/2005 - 12:27pm.

Most of the time when we are doing stripslashes and addslashes it is on data that may be using the magic_quotes_gpc. Such data is put in $_GET, $_POST, $_COOKIE and may need to have slashes added or slashes stripped. The following are two functions that helps with this, by checking the magic_quotes_gpc first:



tomtoday Says:
Thu, 07/28/2005 - 11:46am

It seems like all of your code (form this and other code library posts) is missing or truncated depending on view.  I would be interested in seeing the code.  I'm using Firefox on the Mac (Safari produces the same results.)