0
Good evening, I have a file type field, when I click on it opens a dialog box so I can choose a file from my computer.
My question is this::
Instead of choosing a file from my computer, I would like to choose a file that is inside a particular server folder.
How can I do that?
I develop with PHP and jQuery
Basically with an INPUT FILE will not be possible, the input file looks for files on your computer. You can create a solution with jQuery and PHP by listing the server files in a checkbox. This would select the files you want to include or process. You can create very attractive interfaces with only jQuery and CSS. To learn more you can log in to this link http://www.webmasterworld.com/html/4494793.htm
– Pedro Henrique
I suggest putting the @Pedrohenrique comment as an answer, as it is not possible to determine a default folder for html upload files for multiple issues, among them the user security.
– Leonardo Bosquett
Thank you Leonardo Bosquett and Pedro Henrique.
– Rafael Severino
Rafael, you will need to create a page to show the files on the server that simulates the menu when you choose a file on your computer. If you want help doing that you can rephrase the question with the parts you don’t know how to do so we can help.
– Sergio
Hello Sergio, thank you for your willingness, I am working on the project and as soon as more questions arise on the subject, I will definitely be here to count on you, thank you very much @Sergio
– Rafael Severino