Number of Images uploaded...?
Posted: Mon Apr 12, 2010 12:51 pm
Hi,
is there any way to get the number of images uploaded in the post processing page?
I have the array
$_POST['filename1'], $_POST['filename2'], etc.....
but can I somehow get the number of filenames??
I tried
$i=1;
$name = 'filename'.$i;
while ( isset($_POST[$name]) ) {
loop to insert filenames into database & create thumbnails
$i++;
$name = 'filename'.$i;
}
but it does not work...
is there any way to get the number of images uploaded in the post processing page?
I have the array
$_POST['filename1'], $_POST['filename2'], etc.....
but can I somehow get the number of filenames??
I tried
$i=1;
$name = 'filename'.$i;
while ( isset($_POST[$name]) ) {
loop to insert filenames into database & create thumbnails
$i++;
$name = 'filename'.$i;
}
but it does not work...