Local file doesn't exist error

See all posts See thread Reply

Re: Local file doesn't exist error new!
by colin, 10 years, 11 months ago
There must be something in the log. Output $handle->log after calling process()

Looking again at your code, it looks like you have your own custom process() function. In this function, you instantiate the class, but you didn't indicate whether you are calling the class' process() function.

Look again at the code examples in the doc. It should basically look like this:
$handle = new Upload($_FILES['custom_stationery']);
if ($handle->uploaded) $handle->process('/my/dest/dir/');
Reply