PHP 4.3.3 and IIS
| From: | Michael Kochendoerfer | Date: | Tue, 30 Sep 2003 00:38:50 +0000 |
| Subject: | PHP 4.3.3 and IIS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-164383@lists.php.net to get a copy of this message | ||
Hi,
does anyone know how to handle file and directory paths on a IIS 5.0
server? Problem is that the server has multi-domain and each domain has an
associated 'root' dir below e:\webspaces.
So if one uses relative path strings, an opendir() for example will fail.
One has to use "e:\\webspaces\\root_of_domain_1\\images\\" to access the
/images folder of the configured domain 1.
I'm sure there are functions and env vars to accomplish this, but I'm quite
new to PHP and didn't find them yet.
Please... can someone enlight a newbie? *g*
Thanks in advance!
- Michael