#22010 [NEW]: glob() problems...

From: Date: Sun, 02 Feb 2003 13:29:38 +0000
Subject: #22010 [NEW]: glob() problems...
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31882@lists.php.net to get a copy of this message
From: patric@liefdeis.com Operating system: WinXP PHP version: 4.3.0 PHP Bug Type: *Directory/Filesystem functions Bug description: glob() problems... When you use glob to check out files in an other dir, it returs the filename without the first char of the dir... let me give you an example: <? foreach (glob("data/*.txt") as $filename) { echo $filename."<br>"; } ?> Returns: ata/file1.txt ata/file2.txt Instead of: data/file1.txt data/file2.txt -- Edit bug report at http://bugs.php.net/?id=22010&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22010&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22010&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22010&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22010&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22010&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22010&r=support Expected behavior: http://bugs.php.net/fix.php?id=22010&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22010&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22010&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22010&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22010&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22010&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22010&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22010&r=gnused

« previous php.bugs (#31882) next »