"35","Ben"=>"37","Joe"=>"43"); //echo "Peter is " . $age['Peter'] . " years old."; echo "Callsign " . $ini_array['Call_sign']; echo "Pass_Key " . $ini_array['Pass_Key']; echo "GPS_Lat " . $ini_array['GPS_Lat']; echo "GPS_Long " . $ini_array['GPS_Long']; //################ Call Sign ,Key and GPS data ########################### //Change yor station ID here. //$Call_sign="zr6aic"; $Call_sign = $ini_array['Call_sign']; //Change your Key here //$Pass_Key="1234567890-0987654321"; $Pass_Key = $ini_array['Pass_Key']; //Change your location Latitude (digital format only get it from google map) //$GPS_Lat="26.432"; $GPS_Lat = $ini_array['GPS_Lat']; //Change your location Long (digital format only get it from google map) //$GPS_Long="-27.612"; $GPS_Long = $ini_array['GPS_Long']; //########################################################################## $row = 1; $json_string = ""; $oldTime =""; //if (($handle = fopen("uploads/hf_monitoring_graph_21-01-2018_test.csv", "r")) !== FALSE) { if (($handle = fopen($file, "r")) !== FALSE) { while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $num = count($data); // echo "
$num fields in line $row: