cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-php mailing list Archives

RE: Posting multiple values for a single key

From: David Yamanoha <mobilevaine_at_hotmail.com>
Date: Thu, 3 Jul 2008 14:00:04 -0700

> But this is posted as a normal POST, isn't it? You don't need nor want the
> associative array then but you specify your data like this:
>
> "username=me&password=lateda&categoryChoice[]=232234&categoryChoice[]=12&cateogryChoice[]=random%20string&acceptTOS=true"

I tried doing it via a query string. However in my case there are three image fields, along with the above, and you can't post the 'data/oct-stream or whatever it is' via a querry string...

So the real problem is, multiple values per single key, AND image data all being posted through the same form.

_________________________________________________________________
Do more with your photos with Windows Live Photo Gallery.
http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_photos_022008

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-07-03

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET