Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Form Validation and Untainting

by hakkr (Chaplain)
on Feb 11, 2005 at 17:50 UTC ( #430190=note: print w/replies, xml ) Need Help??


in reply to Re: Form Validation and Untainting
in thread Form Validation and Untainting

This is maybe a bit outthere/overkill for small systems but it could save you some code logic and is portable.

1. Define XML docs and XML schema for your all forms and use XSLT to generate your form pages.
2. use XML::Xerces to validate user input against the schema

Of course you are slightly restricted in what you can validate by the XML schema language

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://430190]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2018-07-15 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (326 votes). Check out past polls.

    Notices?