note 28258 deleted from function.curl-setopt by betz

From: Date: Fri, 23 Apr 2004 09:27:28 +0000
Subject: note 28258 deleted from function.curl-setopt by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68608@lists.php.net to get a copy of this message
Note Submitter: phipps@isppnet.com ---- With curlopt_postfields, I see two ways of passing the args: 1. array("key1"=>"encval1","key2"=>"encval2") 2. implode("&",array("key1"=>"encval1","key2"=>"encval2") The docs say pass the string yet multiple examples pass an array. The source shows that is handles arrays, but I can't get it to do such on 4.1.2. I recommend only using the imploded strings so there is no more confusion about postfields. Good luck, Bill

« previous php.notes (#68608) next »