Re: is_dir() question regarding windows authentication

From: Date: Tue, 31 Dec 2002 20:38:58 +0000
Subject: Re: is_dir() question regarding windows authentication
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-17605@lists.php.net to get a copy of this message
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" <paulmenard1@yahoo.com> wrote in message news:20021231142855.74830.qmail@web14901.mail.yahoo.com... > 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

« previous php.windows (#17605) next »