Charlie Page
Search
K

PHP Tips

Parse Uploaded CSV

$tmpName = $_FILES['user_file']['tmp_name'];
$csvAsArray = array_map('str_getcsv', file($tmpName));