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);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Need to POST multiple values with single name.
Ex.
-55751342416306771991025074398
Content-Disposition: form-data; name="licenses"
lic1
-55751342416306771991025074398
Content-Disposition: form-data; name="licenses"
lic2
Function http_post_
2 matches
Mail list logo