Questions
If you don't need any special processing, this should do what you're looking for
$lines = file($filename, FILE_IGNORE_NEW_LINES);
~ Answered on 2011-05-28 04:48:46