(07-16-2020, 07:54 AM)InsiteFX Wrote: Try this and let me know if it works.
PHP Code:
$cmd = "soffice --convert-to png {$inputFile} --outdir {$ouputDirectory}";
The problem is getting the $inputFile.
$inputFile="/app".$field_info['upload_path'];
This is in a call back where $field_info is a structure being passed to the callback. upload_path contains the full path to the file that was just uploaded. I need to add /app onto the front of it. But I can't seems to access $field_info['upload_path'].
proof that an old dog can learn new tricks