[rrd-users] Re: rrdcgi input checks
Erik de Mare
erik at oezie.org
Fri Mar 26 07:54:01 MET 2004
you could use <form> and the the <OPTION value=day>day <OPTION
value=week>week, so that the visitor only can pick 1. and the value is
unchangeable so that it is always in the right format.
Koos van den Hout wrote:
> I am playing with some rrd generated graphs, and I'd like to give the
> period (day, week, month, year) as a parameter to the cgi. I'd also like to
> give targets as parameter, but that is secondary.
> But, I never trust input from the web to be what I want, or to be safe. So,
> I want to check whether it's day/week/month/year and if it isn't, not even
> try to start rrdgraph.
> So, is there a way to check input values in rrdcgi? Or do I need to fall
> back to a perl wrapper?
> Koos van den Hout
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users