voila tester ce code ^^
$i=1;
while(list($key,$value) = each($_FILES'images']'name']))
{
if ((($_FILES"images"]"type"]$key] == "image/gif")
|| ($_FILES"images"]"type"]$key] == "image/jpeg")
|| ($_FILES"images"]"type"]$key] == "image/pjpeg"))
&& ($_FILES"images"]"size"]$key] < 200000))
move_uploaded_file($_FILES"images"]"tmp_name"]$key],"photo/$i.jpg");
$i++;
}