Bug #10466: hidden '.' files don't work with file_exists()

From: Date: Mon, 23 Apr 2001 21:02:22 +0000
Subject: Bug #10466: hidden '.' files don't work with file_exists()
Groups: php.dev 
Request: Send a blank email to php-dev+get-52231@lists.php.net to get a copy of this message
From: atom@suspicious.org Operating system: linux 2.4.2 (red-hat 6) i686 PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: hidden '.' files don't work with file_exists() file_exists () seems to get confused with 'hidden' files, starting with '.' (dot). this works fine: -------------------------------------------------------------- if(file_exists(test/normal-file)) { die ("error message"); } this does not work: -------------------------------------------------------------- if(file_exists(test/.hidden-file)) { die ("error message"); } -- Edit Bug report at: http://bugs.php.net/?id=10466&edit=1

« previous php.dev (#52231) next »