• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
uploading more than one file to different paths

#1
[eluser]Unknown[/eluser]
Once the upload lib is loaded, i can't configure it to upload files to another path. We don't have the clear method as in the image lib.

Someone done this already?

#2
[eluser]Sarfaraz Momin[/eluser]
I think you have not checked the upload lib documentation properly. You can use a different config array with the new path and use the initialize statement to reinitialize the upload lib with the new path.

Code:
$this->upload->initialize($config);


Hope this help.

Have a good day !!!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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