Try using : file_exists($pathName)
http://www.php.net/manual/en/function.file-exists.php it works for me with almost the exact same configuration. Happy New Year! Brian Weil "Paul Menard" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Happy New Year all! > > I have a PHP script (or a set of them really) that I > have developed since the summer. One of the script > will read a database and display to the user the > contents of the directory. the directory by the way is > store absolute full pathname. I even worked out the > REGEX routine to convert the DOS file pattern to only > show those files that match. Just so you know this all > works. > > Here is my problem. I am currently running this under > W2K Server, IIS PHP 4.3.0RC2 CGI version. > > I am using NT or IIS Authentication and the script > works. I start converting my authentication process to > simply present the use with a login HTML form and once > posted the user is authenticated against a database. I > sure this has something to do with IIS not allowing > the directory access or something. > > Basically the call to 'is_dir($pathName)' where > $pathName is something like > 'd:\\ftproot\\FTPAccounts\\'. is_dir() returns FALSE. > > Any ideas how to get arround this? > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php