On Wed, 20 Mar 2002, Martin Towell wrote:
> (this code not tested)
>
> $res_arr = explode("\n", $result);
> $res_num = count($res_arr);
> for ($i = 0; $i < $res_num; $i++)
> {
> list($k, $v) = explode("=", $res_arr[$i]);
> $$k = $v;
> }
> ?>
>
> this isn't going to work properly if the "val
OTECTED]]
Sent: Wednesday, March 20, 2002 9:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Curl output to an array -- HELP!! -- Appended
This is an revision of my previous message:
Ok, lets say I have some code here:
$result = array();
$ch = curl_init ("https://www.myverificationpl
This is an revision of my previous message:
Ok, lets say I have some code here:
$result = array();
$ch = curl_init ("https://www.myverificationplace.com/verify.asp";);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $args);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120); //
3 matches
Mail list logo