Re: file_exists() to search for *.xml file with a wild card???

From: Date: Tue, 20 Jul 2004 20:51:56 +0000
Subject: Re: file_exists() to search for *.xml file with a wild card???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191232@lists.php.net to get a copy of this message
Scott Fletcher wrote:
I would like to use the file_exists() or something similar to check for the existance of any of the xml files regardless of what filename it use. Like file_exist("*.xml") for example..... Anyone know??
Try glob() -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#191232) next »