Validate a state, county or province in a CGI script