note 28414 deleted from function.glob by betz

From: Date: Tue, 23 Sep 2003 09:01:10 +0000
Subject: note 28414 deleted from function.glob by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56942@lists.php.net to get a copy of this message
Note Submitter: luciano at BrazilianTranslation.net ---- Running php-cli 4.30 on Windows ME, using glob ("*.txt") in the "official" example provided above doesn't work. Using ("../*.txt"), however, will successfully return all text files in the script's current directory. One would expect that pattern to glob the parent directory, but it actually globs the current one. Looks like a bug to me. Meanwhile, use the kludge to glob a directory.

« previous php.notes (#56942) next »