「t_」で始まるすべての画像をglobを使用して取得する必要があります。これを行うにはどのパターンを使用する必要がありますか?
//get any image files that begin with "t_" -- (t_image.jpg) not (image.jpg)
$images = glob("" . $dir . "*.jpg");
foreach($images as $image)
{
echo $image;
}