ID: 22010 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Closed Bug Type: *Directory/Filesystem functions Operating System: WinXP PHP Version: 4.3.0 New Comment:
Tnx, problem solved! Previous Comments: ------------------------------------------------------------------------ [2003-02-03 05:10:47] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-02-02 07:29:38] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=22010&edit=1
