I have URLs like this:
When you visit it the image downloads automatically.
How can I get and save it via PHP?
I've tried file_get_content()
, but it returned info in inappropriate format for saving.
I've tried to use Intervention image library and it's method Image::make($url)
, but it hasn't worked either.