scarhand Posted September 11, 2010 Share Posted September 11, 2010 i am just wondering. lets say you use pure javascript form validation, then obviously anyone can recreate the form on their own site and have its action point to your site, right? so this means that you always need to use php as a backup? or am i missing something? Quote Link to comment https://forums.phpfreaks.com/topic/213180-will-php-always-be-required-to-help-with-js-security/ Share on other sites More sharing options...
Alex Posted September 11, 2010 Share Posted September 11, 2010 Yes, you'll always need to do server-side validation. Quote Link to comment https://forums.phpfreaks.com/topic/213180-will-php-always-be-required-to-help-with-js-security/#findComment-1110072 Share on other sites More sharing options...
shlumph Posted September 12, 2010 Share Posted September 12, 2010 Yes, remember that JS runs on the client's computer, therefor it should never be trusted. It's just for friendliness Quote Link to comment https://forums.phpfreaks.com/topic/213180-will-php-always-be-required-to-help-with-js-security/#findComment-1110107 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.