Posted by otrWalter@gmail.com on 10/30/07 17:27
Form data validation:
1) Client-side validation via CS Javascript
- validate data ONSUBMIT
- loop until you think it's right
2) Server-sdie validation via PHP (or whatever your language is)
- validate data via $_GET or $_POST
- if any of it is not right, send it back to the browser
- if it's all OK, do whatever your going to do
I use URLParams (Firefox extension) to verify what my HTML form sends.
Does this help?:
Walter
[Back to original message]
|