• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting uploaded file name

I am using CI uploading class for uploading files. I have set preference overwrite to false so file will not be overwritten and renamed as soon as it will be uploaded.And I want the name of the file that has been uploaded and renamed automatically. How can I do this? Please help me. Thanks in advance.

got the solution....Smile
its $this->upload->data() and it will return all the properties of uploaded image like name , size , extension etc as associative array...

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.