Weird Results from Curl

From: Date: Fri, 29 Feb 2008 21:20:09 +0000
Subject: Weird Results from Curl
Groups: php.general 
Request: Send a blank email to php-general+get-270776@lists.php.net to get a copy of this message
I'm curling a site to process some data, all well and good but the results are baffling... $result = curl_exec($ch); curl_close($ch); echo "<HR>".gettype ($result); Of course that's not all the code, but the results contain: --------- 0 11 0 1 1 1 1 11 5 An Error Has Occurred During Processing. Error: An Error occured . A message has been sent to the System Administrator with the details of the problem you have encountered. 1 ---- What I can't seem to figure out is what the result type actually is and how to pull just the first piece (0,1,etc) out of the "0 11" that gets returned. I have tried to do a strlen conversion, that failed. I've tried bool converting but it doesn't come across right either. Any ideas? Thanks! Wolf

« previous php.general (#270776) next »