Re: [PHP-WIN] Problem with removable media

2006-11-15 Thread tg-php
Styve, Here's a block of code I borrowed (see comment block) and use to scan active drives on a Windows PC. It uses the is_dir() which may still not work for you, but maybe it does it differently than you did. Also, I believe you can access Windows API functions that can return the status of

[PHP-WIN] Problem with removable media

2006-11-15 Thread Styve Couture
Hi folks, I have a PHP apps who let people listen to audio files. Those files are mainly store on the hard drive of the server. But the old ones are backed up on DVD and purged from the hard drive. I need to offer the possibility to listen to the files on the DVD. So, I have tried different things