I am making a simple development tool for myself using PHP on my local development server.
I would like a way to have a simple file-chooser to select a file without uploading it, but just retaining the file path. This is useful, because I will be the only one using the tool, and so PHP will have access to the chosen file without having it uploaded.
My first thought is to have a <input type="file"...>
, but as far as I know, there's no way to prevent the upload from happening.
Is there a way to do this?