in reply to www login problem

If you can't get it to work in Lynx, you're not going to be able to get it to work from Perl.

Some possibilities

If it works from another browser, like Mozilla, I would recommend using a packet sniffer to see exactly what's going on, then see how what your script is doing is different.

Replies are listed 'Best First'.
Re: Re: www login problem
by Anonymous Monk on Nov 09, 2003 at 02:08 UTC
    Thanks for the info! Just some more info: it works just fine using lynx: I have to links(both consider form submits) and the 2nd is the one I want. When I look at the page info it has one form:'login' with two fields 'clear' and 'ok' - both submit type. print " $browser->form()";yields  WWW::Mechanize=HASH(0x1014345c)->form() and $browser->form_name("login"); yields There is no form named "login" at ./test It also wont let me do clicks yet lynx is perfectly happy!?!?