Updated php script to support multiple file upload [warning: untested]