cheechm Posted September 9, 2008 Share Posted September 9, 2008 Hi, Is it possible to do the addslashes command to like everything from a form? Like: addslashes($_POST); And also things like mysql_real_escape_string ? Thanks Link to comment https://forums.phpfreaks.com/topic/123471-addslahses/ Share on other sites More sharing options...
kenrbnsn Posted September 9, 2008 Share Posted September 9, 2008 Look at the function array_map(). Ken Link to comment https://forums.phpfreaks.com/topic/123471-addslahses/#findComment-637700 Share on other sites More sharing options...
cooldude832 Posted September 9, 2008 Share Posted September 9, 2008 why do u need all those slashes I'd also urge against mapping mysql_real_escape_string to $_POST instead do it to a copy of it because you may want it unespcated else where Link to comment https://forums.phpfreaks.com/topic/123471-addslahses/#findComment-637706 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.