Re: automate multi form submission
Paul J. Keenan [paul@funkiest.demon.co.uk] wrote:
> On Thu, Jan 20, 2000 at 04:17:16PM +1100, Shao Zhang wrote:
> > Hi,
> > I am setting up a system where I can automatically submit all
> > the info to a FORM for registering a new domain name using perl
> > scripts.
> >
> > I use the following in my perl script and it works with most of the forms:
> >
> > echo "domain=hello.world.org.au&action=submit" | lynx -dump -post_data "aunic.telstra.net/cgi-bin/td.pl"
> >
> > But this will fail when there needs multi part FORM submission
> > which is happened when applying for .net.au domains, the form is
> > available at:
> >
> > https://registry.connect.com.au/cgi-bin/na_create.cgi
> >
> > Can anyone please help me with automating the submission of this
> > FROM??
> >
> > Thanks.
> >
> > Shao.
>
> Install libwww-perl and take a look at the man page for
> HTTP::Request::Common. It can do all you require, and a lot more
> efficiently than starting up a shell and lynx.
I did. I had a look at both CGI.pm, LWP, and HTTP. But I don't
think any of them supports MULTI FORM submission.
Please have a look at:
https://registry.connect.com.au/cgi-bin/na_create.cgi
Thanks.
Shao.
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au |___/
_____________________________________________________________________________
Reply to: