How to insert multiple file upload encrypted filename with multiple input in codeigniter ?
I have multiple input file in my view like this:
<input name="picture_1" class="form-control" style="padding-top: 0;" type="file">
<input name="picture_2" class="form-control" style="padding-top: 0;" type="file">
<input name="picture_3" class="form-control" style="padding-top: 0;" type="file">
<input name="picture_4" class="form-control" style="padding-top: 0;" type="file">
<input name="picture_5" class="form-control" style="padding-top: 0;" type="file">
How to make filename encrypted when file uploaded and file will upload based on how many I input file.
for example:
if I input 3 file picture, file data will upload 3 file in directory, and name will stored to database.