Accessing html forms...

1998-06-03 Thread jim
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

Re: Accessing html forms...

1998-06-03 Thread Jens B. Jorgensen
Chris wrote: > On Tue, 2 Jun 1998, Jens B. Jorgensen wrote: > > > "POST" requests should be quite simple to do in perl. Here's what a post > > request > > looks like from the client: > > > > > > POST / HTTP/1.0 > > Content-type: application/x-www-form-urlencoded > > Content-length:

Re: Accessing html forms...

1998-06-02 Thread Craig Sanders
On Wed, 3 Jun 1998, Chris wrote: > Sorry, I think we've got confussed. I know perl very well, and as > Ralph said it has proved invaluable. However, what I want to do is > ~send~ something to a html server via a POST operation. what you want is LWP (the libwww-perl package). I have used this t

Re: Accessing html forms...

1998-06-02 Thread Chris
On Tue, 2 Jun 1998, Jens B. Jorgensen wrote: > "POST" requests should be quite simple to do in perl. Here's what a post > request > looks like from the client: > > > POST / HTTP/1.0 > Content-type: application/x-www-form-urlencoded > Content-length: 24 > > foo=fdsaf&bar=j

Re: Accessing html forms...

1998-06-02 Thread Ralph Winslow
When Chris wrote, I replied: I'd use pure perl for this, but if you don't already know perl5 the learning curve would be pretty steep. If you commit to the learning, though, you'll have expanded your toolkit in a BIG way. > > Hi all, > > This is off the topic, but I figured I could ask anyhow.

Re: Accessing html forms...

1998-06-02 Thread Jens B. Jorgensen
"POST" requests should be quite simple to do in perl. Here's what a post request looks like from the client: POST / HTTP/1.0 Content-type: application/x-www-form-urlencoded Content-length: 24 foo=fdsaf&bar=jk%3Blasdf The "variables" are passed in the body of the request. You

Accessing html forms...

1998-06-02 Thread Chris
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 li