Add correct number of slashes depending on quotes_gpc.
It was created for security when inserting pure HTML or PHP into the database preventing mysql injections.
quotes_gpc has been deprecated as of PHP 5.3 and removed as of PHP 6 as this is a highly insecure function that was why we created the addslash functions to make sure content was properly secured before inserted into the database.
It was created for security when inserting pure HTML or PHP into the database preventing mysql injections.
quotes_gpc has been deprecated as of PHP 5.3 and removed as of PHP 6 as this is a highly insecure function that was why we created the addslash functions to make sure content was properly secured before inserted into the database.