How to only upload the renamed file

See all posts See thread Reply

Re: How to only upload the renamed file new!
by colin, 16 years, 11 months ago
You have to set up these parameters before each call to process():
$handle->file_new_name_body = $name_body;
$handle->file_new_name_ext = 'pdf';

Every time you call process(), you reset all parameters, so you can start from scratch to do something else with the file.

As for the log, simply output $handle->log after calling $handle->process().Reply