PHP for Beginners course: ➤ [ Ссылка ]
PHP MVC course: ► [ Ссылка ]
In a web application, which is better, client-side or server-side validation?
In this video we'll see examples of both, using JavaScript in the browser and PHP on the server.
We'll also learn how client-side validation can be bypassed, first by deactivating JavaScript in the browser, then by using the cURL command-line too.
Finally we'll conclude that validation on the server is essential, to protect against malicious users who might be trying to bypass your code. Client-side validation is there to give better feedback to users, and to make your application faster.
Code shown in the video:
[ Ссылка ]
Documentation shown in the video:
cURL:
[ Ссылка ]
Ещё видео!