*SOLVED* Need to POST multiple values with single name
| From: | Maxim dot Sedelnikov at asplinux dot ru | Date: | Sat, 28 Apr 2007 05:54:15 +0000 |
| Subject: | *SOLVED* Need to POST multiple values with single name | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-254047@lists.php.net to get a copy of this message | ||
Thanks to all.
I've solved the problem with 'http_post_data()':
$data=array('aaa1' => '2', 'bbb2' => '');
$mult='licenses=lic1&licenses=lic2';
$http_response=http_post_data($url,http_build_str($data).'&'.$mult,$opt);