dhmyers82 Posted March 2, 2015 Share Posted March 2, 2015 When checking validity do I want to stripslashes before or after I check? Quote Link to comment https://forums.phpfreaks.com/topic/295018-checking-validity-and-posting-to-txt-file/ Share on other sites More sharing options...
Solution Ch0cu3r Posted March 2, 2015 Solution 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. 1 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.