if ($PHP_SELF == "/full/files/path/and/file/name/and.extension") { $DB_site->query("YOU\'RE QUERY HERE"); }
if (strpos($_SERVER['PHP_SELF'], "filename.php") != false)) { dowhatever(); }
if (strpos($_SERVER['PHP_SELF'], "filename.php" ) != false)) { dowhatever(); }