while ($file_name = readdir($dir)) {

if (($file_name != ".")
 && ($file_name != "..") 
 && ($file_name !="*.php")
 && ($file_name !="main.gif")

)  
{

how come that still displays all the *.php files? 

Reply via email to