php - How to store processed file in users desktop? -
I have created a website. An image option has been created in that scaling. Now I want to store the image of that scale in users. But its savings in the existing folder. Please help me by sending a php script to store that file in the desktop
If your website is actually People are going to be on the web instead of the web locally on their computers, so you can not save it directly to your computer. As you download the file, with PHP it can provide a download link to the user, by using the correct mime-type and content header ( If your website is being used locally (a bit strange, but this could happen), then you header). Therefore, they can choose to download it themselves.
fopen ( )