Much like this:http://www.w3schools.com/PHP/php_file_upload.aspBut I'd like to store the contents of the file into a variable. Is there a shortcut to this? (instead of saving it to a temp file, then opening the temp file and reading it into the variable)