This can be accomplished in PHP using DataAssist and Digital File Pro:
dataassist/
digital-file-pro/
There is a tutorial titled "How to apply Digital File Pro to DataAssist Insert and Update pages" in the How To section of the Digital File pro support page:
digital-file-pro/