$file = "./demoCSV.csv"; $fh = fopen($file, "rt"); $userdata = fread($fh, filesize($file)); fclose($fh); echo $userdata; ?>