I am using codeIgniter file uploading class example https://www.codeigniter.com/user_guide/libraries/file_uploading.html to upload files. In the example after i uploaded files it will show details like below in the upload success view page.
Array
(
[upload_data] => Array
(
[file_name] => VenkataKrishna10.pdf
[file_type] => application/pdf
[file_path] => C:/xampp/htdocs/upload/application/
[full_path] => C:/xampp/htdocs/upload/application/VenkataKrishna10.pdf
[raw_name] => VenkataKrishna10
[orig_name] => VenkataKrishna.pdf
[client_name] => VenkataKrishna.pdf
[file_ext] => .pdf
[file_size] => 83.27
[is_image] =>
[image_width] =>
[image_height] =>
[image_type] =>
[image_size_str] =>
)
)
Afterwards I tried to see entire uploaded data in an array format. My question is how to get full file path from the above array. I know there is a variable full_path
but I am not able to get it. Please help me.