note 8074 added to file_exists

From: Date: Sat, 26 Aug 2000 02:39:22 +0000
Subject: note 8074 added to file_exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-3280@lists.php.net to get a copy of this message
Is there some way to create a function similar to file_exists which instead allows wildcard characters (i.e. data*.txt for data1.txt, data2.txt, etc) and returns the total number of such existing files? http://www.php.net/manual/function.file-exists.php

« previous php.notes (#3280) next »