Return to Snippet

Revision: 7197
at July 13, 2008 20:34 by donkeykong


Initial Code
public function addSlashesCheckMagic($data)
{
	if (!get_magic_quotes_gpc()) 
	{
		$data = addslashes($data);
	}

	return $data;
}

Initial URL

                                

Initial Description

                                

Initial Title
add Slashes Check Magic quotes function

Initial Tags

                                

Initial Language
PHP