Welcome Guest, Not a member yet? Register   Sign In
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 !!!




Theme © iAndrew 2016 - Forum software by © MyBB