The php downloader comes from url and is not saved to the local end, but can be downloaded directly under the server.

I have found a code that is file_put_contents

but he downloaded to the specified file

but what I want to implement now is to "click the button" to press the button (based on a string of url) and save it directly under the "browser"

.

how can this be realized?

Web address end format may have jpg, jpeg, png

Mar.18,2021

The

a tag has an attribute of download

<a href="images/tupian.jpg" download="tupian"></a>

right-click--> Save the picture as.


does not have this function. Because the photo website is not yours, you can't control the HTTP header in it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bbc3-2c2c4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bbc3-2c2c4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?