php-db | 2000121
Date: 12/11/00
- Next message: Julio Cuz, Jr.: "[PHP-DB] Manual of Functions"
- Previous message: Mark Christenson: "[PHP-DB] Continued parse error problems"
- Maybe in reply to: Gary: "[PHP-DB] file_exists()??any wildcards"
- Next in thread: Gary Cooke: "Re: [PHP-DB] file_exists()??any wildcards"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Addressed to: "Gary" <kcooke <email protected>>
php-db <email protected>
** Reply to note from "Gary" <kcooke <email protected>> Sun, 10 Dec 2000 21:45:32 -0500
>
> Can someone tell me if file_exists( ) can use wildcards in the string
> file? And if so what are they? I want the system to look for a file
> with a known directory and the first six digits of the file name are
> known. But I want to end the file name with like *.*, but this did
> not work. Is there maybe another way?
Sorry, file_exists() looks for an exact file name. You probably need
to use opendir() readdir() and closedir() to read the directory and see
if a matching file exists.
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Julio Cuz, Jr.: "[PHP-DB] Manual of Functions"
- Previous message: Mark Christenson: "[PHP-DB] Continued parse error problems"
- Maybe in reply to: Gary: "[PHP-DB] file_exists()??any wildcards"
- Next in thread: Gary Cooke: "Re: [PHP-DB] file_exists()??any wildcards"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

