Posted 16 May 2014 - 05:46 PM
I created some code that uses time() when uploading images. This is to avoid images with the same name being uploaded. It's kind of like this UPLOADPATH . Time () . $ picture.
The problem is that when I want to retrieve the image and use the same code I put above the file is not shown. This is because the server returns the current time and not the time at which the picture was stored. How can I then retrieve my file? Any help is greatly appreciated.