detect if file exist
| From: | Alain Roger | Date: | Sun, 21 May 2006 13:52:03 +0000 |
| Subject: | detect if file exist | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-236572@lists.php.net to get a copy of this message | ||
Hi,
i have 1 folder, in this folder sometime a file can be sometimes not...
1. i would like to detect if the folder contains a file or not.
only 1 file can be in this folder but i do not know the name of this file,
and the extension should be xls.
when this file exists, i want to display the contents of this file to my web
site, how can i do it ?
2. could you advise me on some good tutorial PHP+Excel ?
thanks a lot,
Alain