Using with remote images

See all posts Reply

Using with remote images new!
by Kris, 17 years, 1 month ago
Hello,

I am currently using 0.24 to browse and upload my images.

I do however use fopen to upload remote images from other websites. I was wondering if its possible to upload remote images and process them with this class.Reply
Re: Using with remote images new!
by bassix, 17 years, 1 month ago
i am working on the same problem and have fixed it with copy:
copy('http://foo/test.jpg', '/htdocs/test.jpg');

after this there is a local copy of the file and you can use class.upload as well:
$handle = new Upload('/htdocs/test.jpg');
Reply
Re: Using with remote images new!
by colin, 17 years, 1 month ago
Yes, it is probably the best solution. It could be implemented in the class, but would require quite a bit of changes.Reply
Re: Using with remote images new!
by franklab, 13 years, 2 months ago
THX. It works great!Reply