logo
Published on TCPHP (http://www.tcphp.org)

Stripslashes and Addslashes MQGPC

By ltp
Created 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:



Create a multi-dimensional array from a recordset. › [0]

Source URL:
http://www.tcphp.org/resources/forum/stripslashes-and-addslashes-mqgpc