chris_161 Posted July 16, 2010 Share Posted July 16, 2010 Hi I have been doing PHP last couple of weeks and getting into it, I was just wondering however what is the differance between user input validation and server side validation. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/207926-difference-between-user-input-validation-and-server-side-validation/ Share on other sites More sharing options...
Mchl Posted July 16, 2010 Share Posted July 16, 2010 user input validation is one of several possible server side validations. Or maybe you mean user-side user input validation vs server-side user input validaiton? Link to comment https://forums.phpfreaks.com/topic/207926-difference-between-user-input-validation-and-server-side-validation/#findComment-1086968 Share on other sites More sharing options...
chris_161 Posted July 16, 2010 Author Share Posted July 16, 2010 Yeah sorry thats exactly what I mean 'user-side user input validation vs server-side user input validaiton' sorry for not being entirely clear. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/207926-difference-between-user-input-validation-and-server-side-validation/#findComment-1086969 Share on other sites More sharing options...
Mchl Posted July 16, 2010 Share Posted July 16, 2010 One is done on client-side (i.e. in browser) the other on server. The difference is, client-side validation can not be trusted (because user can fake it), and should only be used to display messages for user informing them, that they input invalid data. All user input data should be validated again on server. Link to comment https://forums.phpfreaks.com/topic/207926-difference-between-user-input-validation-and-server-side-validation/#findComment-1086971 Share on other sites More sharing options...
chris_161 Posted July 16, 2010 Author Share Posted July 16, 2010 Thanks Mchl, youve been most helpful Link to comment https://forums.phpfreaks.com/topic/207926-difference-between-user-input-validation-and-server-side-validation/#findComment-1086975 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.