cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SELECT MULTIPLE in HTML form

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 15 Sep 2003 00:55:22 +0200 (CEST)

On Sun, 14 Sep 2003, John Christopher wrote:

> Since the "city" field is specified as SELECT MULTIPLE, I should be able to
> select more than one city. How would I change the CURL command line to send
> London, Paris, and New York in the "city" field?

Save the HTML to disk. Edit the page to use GET instead of POST. Fill load the
edited page into your browser and fill in the form. Press 'submit'.

Now, you'll see all the data in the URL field!

If I recall this correctly, it simply sets the name to a value multiple times.
Like in "city=London&city=Frankfurt".

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-15