[PHP-DEV] Bug #12699 Updated: opendir() fails when used on read-only devices From: alindeman <email protected>
Date: 08/12/01

ID: 12699
Updated by: alindeman
Reported By: sebastian <email protected>
Old Status: Critical
Status: Feedback
Bug Type: Directory function related
Operating System: Win32
PHP Version: 4.0CVS-2001-08-11
New Comment:

do you have a CD in the drive when you run this script?

Previous Comments:
------------------------------------------------------------------------

[2001-08-11 17:06:34] sebastian <email protected>

Maybe when I change this to 'critical' someone notices :-)

------------------------------------------------------------------------

[2001-08-11 07:34:07] sebastian <email protected>

  <?php $dh = opendir('g:/'); ?>

gives me

  Warning: OpenDir: Invalid argument (errno 22)

where g:/ is my CD Rom drive.

  <?php $dh = opendir('c:/'); ?>

works fine, c:/ beeing my harddrive.

------------------------------------------------------------------------

Edit this bug report at http://bugs.php.net/?id=12699&edit=1

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>