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

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

I am trying to build a string to use in this cmd

$cmd = "soffice --convert-to png ".$inputFile." --outdir ". $ouputDirectory;

I tried using $inputFile="/app".{$field_info['upload_path']}; to build the input file name. But I get this error:

Error: Cannot use object of type stdClass as an array

$field_info is coming from the function:

function callback_after_upload2($uploader_response,$field_info, $files_to_upload){}
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, 05:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB