I have url:
and when I go there I see image with custom name, for example "KLR8asDTYPQQQs6.jpg" So how to get that image name?
I have a function to copy it to my server, but I need to get the name of it first..
copy('http://website.com/image?id=56456465456464', 'uploads/'.img_name???.'.'.img_ext???);