Display path to image on html page

What can be added to this basic image uploader code:

<label for="file">Filename:</label>
<input type="file" name="file" id="file">

so that the image file name that’s chosen to be uploaded is displayed on the html page
with the path /upload/ added to the beginning of the display file name like so:
…/upload/test.png
Any help will be appreciated.

You’d do that in the server side script that actually performs the file upload.

Of course, my brain must be getting tired
thanks

Continued