Using with remote images

See all posts Reply

Using with remote images new!
by Kris, 16 years, 7 months 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, 16 years, 7 months 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, 16 years, 7 months 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, 12 years, 8 months ago
THX. It works great!Reply