Skip to main content
Topic: Dynamic prefix for Upload files (Read 1108 times) previous topic - next topic

Dynamic prefix for Upload files

Hello,
    Hope all of you are safe.
    I need a little help to solve the issue I have at this moment. I am trying to add a dynamic prefix on filenames for uploaded files. I need something like this:

Code: [Select]
date('d-m-Y') - originaleFileName.ext

I have tried to add a php code on FileNamePrefix row like this
Code: [Select]
<?php echo date('d-m-Y');?>
but it didn't work.
Can anyone help me with this issue, please?
Thank you!

 

Re: Dynamic prefix for Upload files

Reply #1
Hello.
Any help, please?