Tell me how to save the selected file in the dialog box via the input file, if the full path to this file is not provided? The file must be selected on the client through a dialog box and saved to the server.

  • The question is not clear, where it is chosen, and in what field it is necessary. In general, there is a file type field that solves half of the problems - Naumov
  • Where do you want to save the selected file? - Stepan Kasyanenko
  • Completed the question - Andrei
  • one
    <input type="file"> does not require a full path. You have selected a file, sent to the server. On the server, the file is saved in the temporary directory and your script on the server is free to do what it wants with it - Dmitry Kozlov

0