Re: Getting WWW::Mechanize to submit a form
- From: Amer Neely <perl4hire@xxxxxxxxxxxxxx>
- Date: Sun, 16 Sep 2007 16:02:58 -0400
Mumia W. wrote:
On 09/16/2007 09:35 AM, Amer Neely wrote:Mumia W. wrote:[...]
perl Makefile.PL PREFIX=/path/to/modules INSTALLSITELIB=/path/to/modules INSTALLDIRS=site
Ah, thank you for that. I was already using PREFIX, but was unaware of this one.
You're welcome. For more information read the docs for ExtUtils::MakeMaker:
Start->Run->"perldoc ExtUtils::MakeMaker"
The ActiveState help menus might also have them.
Yep, was just going through them.
[...]
Maybe the HTML has javascript to initialize some parts of the form, and the server rejects any forms that have not been so initialized.
The form I am trying to populate is made from an .aspx file, so I don't really know what they are doing at their end. I'll suggest a different approach to them. Thanks for responding.
Aspx programs produce HTML (AFAIK), so naturally you would take a look at the HTML before attempting to write a Perl script to interact with its forms.
I have the form name and field names etc. but for some reason the 'other side' is saying nothing is getting posted to it. I'm very confident that my script works - I've tested it myself filling in a plain HTML form, which gets posted to my script, which then uses Mechanize to populate a remote form successfully. So I'm not clear what is different about this scenario. I've sent them a plain HTML form to host so I can point to that. My thinking is that since their form points back to itself for execution, this may affect things. Mechanize comes back with no errors though, which is the confusing part.
--
Amer Neely
w: www.webmechanic.softouch.on.ca/
Perl | MySQL programming for all data entry forms.
"Others make web sites. We make web sites work!"
.
- References:
- Getting WWW::Mechanize to submit a form
- From: Amer Neely
- Re: Getting WWW::Mechanize to submit a form
- From: Mumia W.
- Re: Getting WWW::Mechanize to submit a form
- From: Amer Neely
- Re: Getting WWW::Mechanize to submit a form
- From: Mumia W.
- Getting WWW::Mechanize to submit a form
- Prev by Date: Re: Getting WWW::Mechanize to submit a form
- Next by Date: Re: Return keys from $db->DataHash directly into an array
- Previous by thread: Re: Getting WWW::Mechanize to submit a form
- Next by thread: Re: Getting WWW::Mechanize to submit a form
- Index(es):
Relevant Pages
|
|