multi Image upload

can anyone explain how to save multiple images??..

store in the array format and can change name with random numbers like -


rand(0,999)

or


rand(0,999).time()