Im a newbie to this forum (and php
Im trying to make my php-script read an external file from a url (www.somesite.com/file.asp) which holds csv-values and update an existing mysql-table with the file. As you can see, the external file is saved as an .asp-file.
While browsing the web there seems to be many functions that should be able to fullfill my task (fopen, str_getcsv, fread, file_get_contents). I guess there are many pros and cons using the different functions? So which one would you use and how would you solve the problem?
Reading the csv line by line? Read the entire file into an array or string? Security issues?
Many thanks in advance!!
/Jolly123