in reply to Re: How do I write a CGI script with form validation?
in thread How do I write a CGI script with form validation?

I'd say your best bet would be to validate the user input via JavaScript

Bad advice. Client side validation is fine, provided you accept that it is simply to improve the end user experience. It offers absolutely no security or reliable validation

Form validation is a server side task. Period. Do what you like on the client side, you still need to validate everything (again if using JS client side) on the server side.

cheers

tachyon

  • Comment on Re^2: How do I write a CGI script with form validation?