this will read a remote file and return the content as an array where each line is one item in the array.

copy the code of file handling / read file

click here to select all the code