|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-03 05:10 UTC] edink@php.net
[2003-02-03 11:31 UTC] patric at liefdeis dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 31 23:00:01 2025 UTC |
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