[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Accessing html forms...



It's relatively easy to write a program to do this, although you might
need to scroung around for routines to do the "URL Encoding" of the
post data. However:

Perl is your friend. look at the LWP module.

If you can get it, O'Reilly has a "Web Client Programs with Perl" book
that covers this topic.


Chris writes:



 > Hi all,
 > 
 > This is off the topic, but I figured I could ask anyhow.
 > 
 > I have to periodically access an post type form on a web page, and I would
 > like to do this automatically (ie. write a script/program to do it, rather
 > than having to load up netscape and do it by hand).  I've played with
 > programs like snarf for downloading pages, but I need to actually post
 > some data to a server.
 > 
 > Anyone have any information on ways to do this?  I must admit that I don't
 > know too much about http - expecially cgi stuff.
 > 
 > Thanks for any help,
 > 
 > 
 > Chris
 > 
 > 
 > --
 > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
 > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: