|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-09-15 14:32 UTC] patrice dot edeline at inpec dot fr
Description:
------------
glob("dirname/*");
don't find dirname/. www.caraudiovideo.com ..url
Test script:
---------------
$res=glob("c:/toto/*");
Expected result:
----------------
$res=array();
Actual result:
--------------
$res[0]="c:/toto/. www.caraudiovideo.com ..url"
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Feb 06 13:00:01 2026 UTC |
R‚pertoire de C:\toto 15/09/2010 15:49 <REP> . 15/09/2010 15:49 <REP> .. 13/11/2004 01:14 264 . www.caraudiovideo.com ..url 1 fichier(s) 264 octetsglob('*') ignores all files that start with a dot, I thought it was used to hide the '.' and '..' that are presented as files but I begin to think it was used to hide files that "should" be hidden like '.svn' and '.htaccess. Yet, PHP's glob ignores any file attributes such as 'Hidden' and displays files that are actually hidden, shouldn't this be changed ?