List Info

Thread: note 53451 deleted from function.addslashes by philip




note 53451 deleted from function.addslashes by philip
user name
2006-03-31 15:25:21
Note Submitter: thezapper303 *at* gmx.de 

----

This code can be inserted somewhere in your application
(near the start):

if (get_magic_quotes_gpc()) {

 // Yes? Strip the added slashes

 $_REQUEST = array_map('stripslashes', $_REQUEST);
 $_GET = array_map('stripslashes', $_GET);
 $_POST = array_map('stripslashes', $_POST);
 $_COOKIE = array_map('stripslashes', $_COOKIE);

}

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )