Sir, Your extension is wonderful tool for people who do not understand coding. Thank you very much for providing such a useful extension.
Sir, I want to rename the file with a time stamp so that the files on the server do not get overwritten. Can you please guide me how to do it with this extension. I have a snippet to rename the file but an not able to figure out where and how should it be applied or used with your extension. The snippet is :
<?php $randString = md5(time()); $fileName = $_FILES["uploaded_file"]["name"]; $splitName = explode(".", $fileName); $fileExt = end($splitName); $newFileName = strtolower($randString.'.'.$fileExt); ?>
Please guide me. |
|
|