Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://430190]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2018-09-26 14:38 GMT
Find Nodes?
    Voting Booth?
    Eventually, "covfefe" will come to mean:

    Results (207 votes). Check out past polls.

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