I want to copy a file to new directory with new name.
Like on first time signup, if user don't upload any image, then the file gets copy from app/public/images/default_pic.jpg
to app/public/images/profiles/{username.md5(time())}.jpg
.
I want to copy a file to new directory with new name.
Like on first time signup, if user don't upload any image, then the file gets copy from app/public/images/default_pic.jpg
to app/public/images/profiles/{username.md5(time())}.jpg
.