Dear Darren,
Much less cool to learn, but much less time to "waste". Thank you very much
for the info!
regards
Phil
On Sunday 15 July 2001 15:11, you wrote:
> Felipe Figueiredo <[EMAIL PROTECTED]> said something to this effect on
07/15/2001:
> > Hi all,
> >
> > I need a script that passes the form information I want to the
> > website, but I will be running the script from the shell.
> > Reason: so I can do a repetitive job automagically.
> >
> > So, suppose I know all the form variables I need, that must not
> > be difficult, heh? But the site has to be acessed with a
> > login/passwd. I suppose I will have to emulate some kind of
> > cookie, maybe? But maybe that won't be necessary, because I may
> > need to post only to a single form.
>
> There is enough call for this sort of thing that someone has
> written the exact piece of software you need. Take a look at
> libwww-perl, specifically the lwp-request script that comes along
> with that package. It allows you to do something like this, from
> the shell:
>
> $ lwp-request http://www.server.com/script.cgi?arg=val&arg=val
>
> You can specificy arbitrary headers (i.e., cookies) with the -H
> option, Auth info with the -C username:password option, the
> method to use (GET, POST, HEAD, etc), and more.
>
> (darren)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]