curl-and-php
RE: Posting multiple values for a single key
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 4 Jul 2008 09:26:20 +0200 (CEST)
Date: Fri, 4 Jul 2008 09:26:20 +0200 (CEST)
On Fri, 4 Jul 2008, YupLounge website analyse en optimalisatie wrote:
> Posting an associative array with php-curl is possible After hours of work I
> once came up with the following solution:
[...]
> The only way you can send this is by serialize and urlencode. You must
> urlencode it because otherwise [] are seen as new POST-fields:
Right, but by doing the serializing stuff you also no longer make it a
multipart formpost...
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2008-07-04