class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
In the meantime, if you use PHP5, you can do the following: Replace lines 1818-1825
if ($this->processed && !isReadable($this->file_src_pathname)) {
$this->processed = false;
if (is_readable($this->file_src_pathname)) {
$this->error = _("Source file is not readable. open_basedir restriction in place?");
} else {
$this->error = _("Source file is not readable. Can't carry on a process");
}
}
with
if ($this->processed && !($f = @fopen($this->file_src_pathname, 'r'))) {
$this->processed = false;
if (is_readable($this->file_src_pathname)) {
$this->error = _("Source file is not readable. open_basedir restriction in place?");
} else {
$this->error = _("Source file is not readable. Can't carry on a process");
}
} else {
fclose($f);
}
I can't test it right now, but I think it should work. Please let me know.Reply
It is a bug, thank you for reporting it. You must have PHP5. I will fix it in the next release. Read More information about the problem here
In the meantime, if you use PHP5, you can do the following:
Replace lines 1818-1825
with
I can't test it right now, but I think it should work. Please let me know.