Welcome Guest, Not a member yet? Register   Sign In
accessing a $_SESSION variable is failing
#8

(This post was last modified: 07-16-2020, 09:54 AM by richb201.)

(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
Reply


Messages In This Thread
RE: accessing a $_SESSION variable is failing - by richb201 - 07-16-2020, 08:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB