Re: How can I get the web root in IIS+PHP?
| From: | Chen Wei, Lian | Date: | Thu, 27 Sep 2001 02:43:29 +0000 |
| Subject: | Re: How can I get the web root in IIS+PHP? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9567@lists.php.net to get a copy of this message | ||
Hi yanshuldg,
maybe u can use HTTP_ENV_VARS["PATH_TRANSLATED"] and cut out those you dun
need...
--
regards,
chen wei (http://www.cw213.net)
===================================
Solutions Developer of Earth9.com
===================================
Thursday, September 27, 2001, 9:17:22 AM, you wrote:
y> Hi,everyone:
y> In Apache+PHP,I can use $HTTP_SERVER_VARS["DOCUMENT_ROOT"] to get the web root
directory, but how can I get it in IIS+PHP?
y> -----------------------------------------
y> ÎÒµÄÐÕÃû¡¢ÎÒµÄÓÊÏä
y> http://name.etang.com/
y> ÒÚÌÆ¶ÌÐÅ£¬ÄúÌùÉíµÄʱÉйËÎÊ
y> http://sms.etang.com
y> °×׬200ÔªÉÏÍø·ÑµÄ¾÷ÇÏ
y> http://ecard.etang.com/progt/index.asp?s1=1&s2=1
y> Ö°ÒµÉî˼¼
y> http://topic.etang.com/job/index.htm