Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Answer: Can I use Perl to send POST data to forms that use MS FrontPage webbots?

( #20826=categorized answer: print w/ replies, xml ) Need Help??

Q&A > HTTP and FTP clients > Can I use Perl to send POST data to forms that use MS FrontPage webbots? contributed by QandAEditors

The code you show for the page is the source code of the page, before it is being parsed by the FrontPage extensions in the server.

The code that is then actually sent out to the browser will look more like a normal form, i.e. the

s-email-format="TEXT/PRE" b-email-label-fields="TRUE"

and such is converted into HTML form elements.

What you need to do is to select "Preview in Browser" in FrontPage and then "View source" in the browser to see how the form has been rendered by the FP extensions. There you'll find what parameter names and values you'll you need to emulate with your perl script. In order for "Preview in Browser" to work correctly with bots, it must go through a web server installed with frontpage extensions. In some setups it just reads the page from disk...

Comment on Answer: Can I use Perl to send POST data to forms that use MS FrontPage webbots?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2014-09-21 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (165 votes), past polls