dhmyers82 Posted March 2, 2015 Share Posted March 2, 2015 When checking validity do I want to stripslashes before or after I check? Link to comment https://forums.phpfreaks.com/topic/295018-checking-validity-and-posting-to-txt-file/ Share on other sites More sharing options...
Ch0cu3r Posted March 2, 2015 Share Posted March 2, 2015 You would use it before validating the users input. However you should only need to call stripslashes if a setting called magic quotes is an enabled in PHP's configuration. If you are using PHP5.4 then magic quotes was removed so you should not need to call stripslashes. Link to comment https://forums.phpfreaks.com/topic/295018-checking-validity-and-posting-to-txt-file/#findComment-1507262 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.