using a html form I wish to upload a file (text file) .txt only,
then I want to make the contents of the file a variable, is there an easy way to do this?
the file does NOT need to be stored, just read 1 time.
any help would be greatly appreciated.
I'm not worried about the security, as I can add this in, all I am looking for is a simple example to get the data of the text file to a variable.
basically it's a word list, that after uploaded it will be processed and formatted.
please help 8-) (I'm scratching my head on this one).
plenty out there on images upload, but not much on text files.