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.
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.
Source: https://ru.stackoverflow.com/questions/893315/
All Articles
filetype field that solves half of the problems - Naumov<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