PHP How to get data from apache solr – PHP July 30, 2011 1 Comment <?php $output = file_get_contents(‘http://localhost:8983/solr/select?q=video&wt=php’); eval(“$resultArray = ” . $output . “;”); echo “<pre>”;print_r($resultArray); ?>