|No such thing as a small change|
Re^2: How to convert an @ARGV to form based input?by taint (Chaplain)
|on Aug 21, 2012 at 08:57 UTC||Need Help??|
Good advice @ig, and thank you very much for the reply.
What I actually have, is a very large script that provides every option DNS queries permit. I built, and tested it as CLI (at the console/term). Now that it all works at the term, I want to incorporate a form field where the (@ARGV) is. Since the whole thing is so large, I simply posted one of the queries as an example. I have already finished all of the web based stuff, providing each query option as a
Then providing additional options as checkboxes, or radio.
so: the example I posted here appears as:
the additional options are A, AAA, HINFO, IP6, TXT, etc...
What I do want to do, is provide an empty form input field that allows the entry of a domain name to query those options for. meaning; replace the (@ARGV) I have now, with a form input field. As it sits now (without form fielsd(s), I can query the form via:
and it returns the MX records (using the example above with the (@ARGV). But I don't want the web clients location: to see, or be able to manipulate the query string -- hence the desire to put the form fields within the script itself, and my choice of using the POST method.
I hope that helps clear things up a bit, and thanks again for your thoughtful reply.
#!/usr/bin/perl -Tw use perl::always; my $perl_version = "5.12.4"; print $perl_version;