Hello, I want to do an Admin to upload more than one picture per clic, I
must can upload one or more Pictures. This I know how is it... but I want
rename each picture, not with , for example, 001 but with some function,
some... thing that rename the file. I am using this:
Try this
Try assigning time() to a variable then add that to the rename.
EG:
if ($_FILES['foto']['type'] == image/jpeg ||
$_FILES['foto']['type'] == image/pjpeg){
//nombre de la imagen
$timestamp = time();
//movemos la
The problem with time() is that fast servers are too fast! (you will
have processed multiple files before time() changes.) Add the $i from
the for loop in multiple images to the end of your filename.
On May 30, 2010, at 4:33 PM, Karl DeSaulniers k...@designdrumm.com
wrote:
Try this
Try