ID:               22010
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         *Directory/Filesystem functions
 Operating System: WinXP
 PHP Version:      4.3.0
 New Comment:

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




Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to