cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Posting multiple values for a single key

From: David Yamanoha <mobilevaine_at_hotmail.com>
Date: Tue, 1 Jul 2008 18:02:19 -0700

How do you go about configuring curl to allow for posing multiple values for a single key? i.e.

...
curl_addPostData($curl, CURLOPT_POSTFIELDS, 'CategoryChoice[]', 0 );
curl_addPostData($curl, CURLOPT_POSTFIELDS, 'CategoryChoice[]', 12 );
curl_addPostData($curl, CURLOPT_POSTFIELDS, 'CategoryChoice[]', 14 );
curl_exec($curl);

// How do you 'curl_addPostData'??
...

_________________________________________________________________
Making the world a better place one message at a time.
http://www.imtalkathon.com/?source=EML_WLH_Talkathon_BetterPlace

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