|
|
|
|
|
by kugelblitz
779 days ago
|
|
Security in vanilla php using old tools is a headache. I use Symfony and using the form component (https://symfony.com/doc/current/components/form.html) you can achieve much of what is needed. If you use the framework as well (which is very modular nowadays) you also have security built-in (https://symfony.com/doc/current/forms.html). But probably not as fast as a "quick and loose" approach if you don't know Symfony yet, but extendible and secure (if you do know Symfony, it might be faster than the vanilla php approach, because you can avoid much of the "generic" code, the validators, the error handling, avoid SQL and XSS injection). |
|