http://qs1969.pair.com?node_id=58088


in reply to Untainted done right!

It looks like you are processing your own CGI parameters instead of using CGI. That is a very bad idea.

Replies are listed 'Best First'.
Re: Re (tilly) 1: Untainted done right!
by SilverB1rd (Scribe) on Feb 13, 2001 at 20:11 UTC
    I'm using CGI for the main data handling, I was unable to find a way with CGI to extract the commandline like I needed. I have printed out the CGI information and it seems to be more for creating forms rather then processings them, at leat the way I need them to be processed.
      IF 
      	you're getting info off the command line
      THEN
      	you probably want one of the Getopt modules
      
      (Getopt::Std or Getopt::Long).

      And CGI is DEFINITELY built for processing input from HTML forms -- in fact, it's very powerful that way (hint: check out the documentation for param in the CGI manpage!).

      Philosophy can be made out of anything. Or less -- Jerry A. Fodor