Question : how to rename uploaded file in codeigniter before upload
Answered by : shaniba-shanif
$new_name = time().$_FILES["userfiles"]['name'];
$config['file_name'] = $new_name;
Source : https://stackoverflow.com/questions/21811773/codeigniter-rename-file-on-upload | Last Update : Fri, 27 May 22