Create get_hist.php