[mythtv-users] OT: How to submit form, retreive web page and

Vladimir Shved vshved at logistic-systems.com
Thu Apr 22 19:31:19 EDT 2004

There are many perl modules available for doing this kind of thing. Search
for old ppv.pl script, to see example.


-----Original Message-----
From: Jason Lee 
Subject: Re: [mythtv-users] OT: How to submit form, retreive web page and
save it to a file?

William wrote:

> I am preparing to write a ppv listing utility for Dishnetwork and I am
> stumped as to how to pull the info I need from the provider's web site.
> I need to do is to be able to fake the submission of a html form and then
> retreive the data returned. I don't think that 'wget' supports the ability
> to send form data and I didnt see any command line hooks into Mozilla.
> Please correct me if I am wrong on the above programs.

This might help if you're using PHP:


Of course, curl has bindings for roughly half a bazillion languages, so 
the reference still might help.  There is a command line utility called 
curl, that has a POST data option, but I've never used that.  The man 
page *might* help, or you can check out the curl home page at 

jason lee
Steeplesoft -- http://www.steeplesoft.com
README.txt  -- http://jason.theleehouse.net
Bosco       -- http://bosco.sourceforge.net

More information about the mythtv-users mailing list