I know, that there is fgetcsv function which process each row of csv file. but what if I don’t have file, but attachment (string?) acquired from email by imap php functions (like imap_fetchstructure, imap_fetchbody, imap_base64…).
is there any simple possibility, or must I process it manually?
There’s also the
str_getcsvfunction (from PHP >= 5.3)