i thought this would work ;(
but it doesn't
need to find out if its a gif, if not it can skip printing it.
images file looks like this;
ISL030128_01.GIF
$picsplit = split('.',$ipicfile);
if($picsplit[1] == "GIF"){
$tst++;
}else{
$p++;
$ass .="&ipicfile".$p."=$ipicfile&<BR>$picsplit[0],$picsplit[1]";
}
}
thanks