Ummmm file_exists() ? A simple search on the search engines for "php file exists" gave me loads of results... Dude, dont be lazy and just post here or you are going to get a lot of grief...do a search on web then come back if you dont find anything or have questions... And trust me, this is one of the more polite answer you will get or would have gotten. -Ryan --- Alain Roger <raf.news@xxxxxxxxx> wrote: > 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 > ------ - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php