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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php