php-uploader icon indicating copy to clipboard operation
php-uploader copied to clipboard

getting just the uploaded file name

Open jwed opened this issue 8 years ago • 1 comments

Hi,

How can I get just the file name after upload the file ...?? what is the format to get the name.

Thank you ..

jwed avatar Dec 31 '16 14:12 jwed

This is old, but anyone might be looking for this answer as there is no mention about file name in documentation.

You can echo $data['data']['metas']['0']['name']; If multiple files are being uploaded, then 0 can be replaced by 1, 2, 3 and so on to get file names of all uploaded files. I got file name in this way: image

amandhakad avatar May 20 '19 10:05 amandhakad