[snip] > Is there any way to do this? <? $extension = str_replace('.','',strtolower(strrchr('installer.php',".")));
if($extension == "php") { // Do your unlink() routine for PHP here. } elseif(strstr($extension,"htm")) { // Do your unlink() routine for .htm/.html files here.... will also do .phtml, etc. } ?> [/snip] Damn! I sure miss the good old days when I could have answered "yes". 8^{)} -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php