I have a form plugin running on WordPress that uploads the values below for some of the fields:
[31] => Pelican [29] => Array ( [FErQa] => Array ( [user_file_name] => Pelican.jpg [file_name] => pelican-006.jpg [file_path] => /nas/content/live/mysite/wp-content/uploads/sites/2/ninja-forms/ [file_url] => http://mysite/wp-content/uploads/sites/ ... an-006.jpg [complete] => 1 [upload_id] => 19 ) )
Accessing 31 => Pelican
is no problem, since I know the key. The problem is with file_path
in FErQa
in 29
, since the FErQa
key changes every upload and I don't know the key.
So how can I access file_path
in FErQa
, when I don't know the key: FErQa
?