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