<?php

$csv_file = "https://example.com/filename.csv?" . time();

$data_list = array();

if (($handle = fopen($csv_file, "r")) !== FALSE) {

 while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
 
 array_push($data_list, 
 array(
 "name" => $data[0],
 "email" => $data[1],
 "phone" => $data[2]
 ) 
 );
 
 }
 
 fclose($handle);
}

var_dump($data_list);
Related Keywords: Developer, How-to, Solved, PHP Read CSV File