is_dir() question regarding windows authentication
| From: | Paul Menard | Date: | Tue, 31 Dec 2002 14:28:55 +0000 |
| Subject: | is_dir() question regarding windows authentication | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17600@lists.php.net to get a copy of this message | ||
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