ini_set("auto_detect_line_endings", true);
$fh = fopen($csv, 'r');
+
if (!$fh) {
$this->jerr("invalid location file");
}
+ $line = trim(fgets($fh));
+
+ print_r($line);exit;
+
$req = array(
'GEONAME_ID', 'CONTINENT_CODE', 'CONTINENT_NAME',
'COUNTRY_ISO_CODE', 'COUNTRY_NAME', 'SUBDIVISION_ISO_CODE',