title: PHP - cURL To Array?
body: <p>How could I use cURL to get back an array from this URL? <a href="http://module.game-monitor.com/67.202.102.136:27016/data/server.php" rel="nofollow">http://module.game-monitor.com/67.202.102.136:27016/data/server.php</a></p>
  
  <p>This is my code so far.</p>
  
  <pre><code>$ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, 'http://module.game-monitor.com/67.202.102.136:27016/data/server.php'); 
  curl_setopt($ch, CURLOPT_HEADER, false); 
  curl_setopt($ch, CURLOPT_NOBODY, false); // remove body 
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);  
  $head = curl_exec($ch); 
  $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); 
  curl_close($ch); 
  $head = unserialize($head);
  $head = objectToArray($head);
  $head["query_time"] = str_ireplace('ms', '', $head["query_time"]);
  return $head;
  </code></pre>