<?php

$csv_url = 'http://example.com/path/to/remote/file.csv';
$csv_data = file_get_contents($csv_url);
$csv_lines = str_getcsv($csv_data, "\n");
$csv_array = array();

foreach ($csv_lines as $line) {
    $csv_array[] = str_getcsv($line);
}

// Now $csv_array contains the CSV data from the remote file.