File upload: prefix function? November 26, 2020, 10:17:44 AM Hello all,is there a way to add a function to the prefix file upload field?This would make file uploading safer (no overvriting same file name).Example prefix: date(Y-M-d_H-i-s)-TIAtony Quote Selected
Re: File upload: prefix function? Reply #1 – November 26, 2020, 11:50:58 AM Hello all I found a solution to add date/time to filename as a prefix.If you want to do this, just add this line under line 377 of the file libs/Uploader.php:$string = date('Y-m-d_H-i-s')."-".$string;Obviously you have to do this every time you republish your project.To make this permanent, you shoud edit the file Uploader.php in C:\Program Files (x86)\PHPRad Classic\Components\Bootstrap-4\systemframework\libsThis way, when you republish your project, the new file will be uploaded.HTHtony Quote Selected