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); // Set the timeout, in seconds.
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec ($ch);
Now that we see that, how can I make it so that the output from curl, which
is in the variable $result, will be an array, for each line of output?
Some of the line of output looks like this:
I need each of the lines to be turned into a variable. Any ideas as to how I
might go about this?
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php