Welcome Guest, Not a member yet? Register   Sign In
Upload multiple files to different locations from one form
#1

[eluser]phpzone[/eluser]
hi

i'm working on an admin system at the moment and as part of one form i need to upload both and image and a document, so i need two $_FILES entries on the one form, the files when uploaded need to be saved into different paths so i need the chance to change $config['upload_path'] parameter for the uploader.

can the default CI uploader do this? it seems to default to looking for an input called 'userfile' if i recall from the last time i used it.

any advice gratefully received, otherwise i'll just have to "roll-my-own" function.

many thanks in advance.


Messages In This Thread
Upload multiple files to different locations from one form - by El Forum - 01-21-2008, 11:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB