[eluser]quest13[/eluser]
Hi,
I would like to add a timestamp value attached to file name, so that every filename becomes unique.
I tried in the following way,
$file_name = $_FILES["uploadedfile"]["name"].microtime();
but the file is saved as follows and hence corrupted
test_filename.jpg0.14866500 1252686986
Can anyone help me to solve my problem ?
I want to create each filename with unique name and want to keep the jpg format too.
Any idea ?
Thanks