Re: Hide Files

From: Date: Mon, 19 Feb 2001 22:43:28 +0000
Subject: Re: Hide Files
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-6765@lists.php.net to get a copy of this message
> && ($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 Darryl.Friesen@usask.ca 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"

« previous php.db (#6765) next »