On Sat, Feb 19, 2011 at 21:50, Yogesh <yogesh...@gmail.com> wrote:
> POST

    Use cURL, look into curl_setopt(), and add square brackets (and
optional key names) to your array.  A quick start:

<?php
$ch = curl_init();
curl_setopt(CURLOPT_POST,1);
curl_setopt(CURLOPT_POSTFIELDS,'firstArr[]=apple&firstArr[]=orange&firstArr[]=banana&secondArr[one]=foo&secondArr[two]=bar');
// etc.
?>

-- 
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to