Open A File Via Html Button

后端 未结 3 1761
长情又很酷
长情又很酷 2021-01-29 14:06

I am looking for a way to open a file when user clicks on the open button on my website.

Basically, I want to define the path to that specific file tha

3条回答
  •  鱼传尺愫
    2021-01-29 14:56

    Using

    
    

    you can open up a file dialog. You'll have to handle this with PHP. This link: https://www.sitepoint.com/handle-file-uploads-php/ provides all the info you need. If you don't have a server to upload .php files to, you can set up a LAMP server.

    Hope this helps :)

提交回复
热议问题