gangsterwanster1 Posted July 3, 2009 Share Posted July 3, 2009 Can some explain what this exactly does to the postdata? stripslashes(urldecode($_POST['DATA'])) /Is it necessary to do this? Link to comment https://forums.phpfreaks.com/topic/164616-postdata-question/ Share on other sites More sharing options...
celsoendo Posted July 3, 2009 Share Posted July 3, 2009 It depends on what are you doing or what do you want. Let's look at the php manual: From http://www.php.net/urldecode: Description string urldecode ( string $str ) Decodes any %## encoding in the given string. From http://www.php.net/stripslashes: Description string stripslashes ( string $str ) Un-quotes a quoted string. Link to comment https://forums.phpfreaks.com/topic/164616-postdata-question/#findComment-868204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.