note 28414 added to function.glob

From: Date: Sun, 12 Jan 2003 14:27:48 +0000
Subject: note 28414 added to function.glob
Groups: php.notes 
Request: Send a blank email to php-notes+get-42022@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/function.glob.php http://master.php.net/manage/user-notes.php?action=edit+28414 http://master.php.net/manage/user-notes.php?action=delete+28414 http://master.php.net/manage/user-notes.php?action=reject+28414

« previous php.notes (#42022) next »