opendir() gives failed to open dir: No error in C:\Apache\Apache\htdocs\sample_php.php
| From: | satya narayana | Date: | Tue, 11 Jan 2005 15:26:58 +0000 |
| Subject: | opendir() gives failed to open dir: No error in C:\Apache\Apache\htdocs\sample_php.php | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-38101@lists.php.net to get a copy of this message | ||
Hi All,
I am using a simple opendir() function in my code as
below.
$o = opendir ($dir) or error ("cannot open directory:
$dir");
and the code fails saying opendir(tests): failed to
open dir: No error in
C:\Apache\Apache\htdocs\sample_php.php.
Don't know why the code I am getting the above error.
And definitely "tests" directory is accessible and it
is also a local directory(not shared over the network)
Well, I my OS is Windows 2003 64 bit OS.
PHP version is 4.3.9
thanks in advance.
Satya.
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com