php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15634 Problem with opendir function
Submitted: 2002-02-19 18:22 UTC Modified: 2002-05-15 00:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: cgadais at iname dot com Assigned:
Status: No Feedback Package: *Directory/Filesystem functions
PHP Version: 4.1.1 OS: WIn XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-02-19 18:22 UTC] cgadais at iname dot com
Hello,

I meet a problem with this code:
c:\ is my hard drive

to obtain the files in the directory of my hard drive, "c:/planning/", the code is :
$dossier=opendir("c:/planning/");
echo $dossier;

this code work fine. 

It display me the ressource.


//******************************************


But when I want obtain files in a remote directory "H:/planning" by example, normaly the code is :
$dossier=opendir("h:/planning/");
echo $dossier;

this code don't work, it display me nothing.

I test this code on several computers, and I obtain the same problem.

I think that it's a bug.

could you confirm me ?


Thanks about your help .

Christophe



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-14 14:53 UTC] elixer@php.net
Are you receiving an error message at all?  Could you try putting the following piece of code before your opendir call and tell us if it then gives you an error message?

error_reporting(E_ALL);

Sean
 [2002-05-15 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 19 15:03:37 2021 UTC