<?php
if ($handle = opendir("/your/dir/here")) {
while (false !== ($file = readdir($handle))) {
if ($file == "fileyouarelookingfor.suf") {
echo "i found file $file in current directory.\n";
}
}
closedir($handle);
}
?>
i used an example on http://www.php.net/manual/en/function.readdir.php and modified a little ...
but remember that this code will only find the exact filename set in the if clause.
but otherwise i think it should work
ali