uploading a file is easy using a form (input box of type file).
you can then save that file to the server (a lot of information can be found on uploading files and saving them).
opening this file can be done with fopen().
parsing it is fairly easy afterwards.