>  && ($file_name !="*.php")
> how come that still displays all the *.php files?

Because that's an exact string match for a file called '*.php' which
probably doesn't exist.  Try some thing like

    && (substr($file_name, -4) != '.php')

That should exclude all files ending in '.php'.

- Darryl

  Darryl Friesen, B.Sc., Programmer/Analyst    [EMAIL PROTECTED]
  Education & Research Technology Services,     http://gollum.usask.ca/
  Department of Computing Services,
  University of Saskatchewan
  "Go not to the Elves for counsel, for they will say both no and yes"

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to