how to change name for download file in php how to protect and safe download file in php

HTML, PHP 0 Comments

how to change name for download file in php how to protect and safe download file in php

There are no restrictions on allowed values, and the browser will automatically detect the correct file extension and add it to the file (.img, .pdf, .txt, .html, etc.)

 

<a href="/images/myw3schoolsimage.jpg" download="w3logo">
click and download file
</a>

 


click and download file