Closed david8640 closed 10 years ago
@david8640 @aassaly Hey I know we spoke about this validation stuff during our little meeting, however I really should have wrote down what was happening because now with all the midterms and such, when I came to do it now I am kind of blank on what to do. If any of you are free some time tomorrow or monday (please keep in mind i have my last midterm tomorrow, sunday at 7pm..) or if any of you are okay to type out what really needs to be done for creating a validation for both client and server.. Thanks guys!
I will give you more information tomorrow morning on the issues :)
Thanks a lot! :+1:
Pour la validation server side, c'est un peu le même principe que la validation client side, mais cette fois ci ca doit être fait en php. Le but est de valider les valeurs reçu avant de faire du traitement sur ces valeurs.
Tu as deux choix :
\ Il est nécessaire de valider les champs du côté serveur et du client simplement au cas où le js serait désactivé. La validation du côté serveur évitera qu'une valeur non désirable se loge dans notre base de données.
We will use kohana for this.
PHP