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? 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. 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 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
Archived
This topic is now archived and is closed to further replies.