If you have only one column in your file, you really don't need to use fgetcsv. You could use the fgets function (http://us2.php.net/manual/en/function.fgets.php) instead. This function returns a string, which you could easily add to your array like so:
$emails = array();
if (($file = fopen("emails.csv", "r")) !== FALSE) {
while (($email = fgets($file)) !== FALSE) {
$emails[] = $email;
}
fclose($file);
}
Alternatively, if you insist upon using fgetcsv, you could alter your code as follows:
$emails = array();
if (($file = fopen("emails.csv", "r")) !== FALSE) {
while (($arr = fgetcsv($file)) !== FALSE) {
$emails[] = $arr[0];
}
fclose($file);
}
Finally, I have read, but not tested myself, that the stream_get_line function (http://www.php.net/manual/en/function.stream-get-line.php) is even faster than fgets. You could substitute it above.