Using with remote images

See all posts See thread 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