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

#1
[eluser]Computerzworld[/eluser]
Hello,
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.

#2
[eluser]Computerzworld[/eluser]
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...
HTH....


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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