Sous Linux - Apache le suivant fonctionne pour moi...
<?
$tfile = "PGtest.php";
echo ("<P>File request is for $tfile </P>");
if (file_exists("PGtest.php")) {
echo ("<P>File '$tfile' exists </P>");
} else {
echo ("<P>File '$tfile' does not exist </P>");
}
?>