Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2018-12-16 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (71 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!