Re: DOCUMENT_ROOT with Zend API
| From: | Hartmut Holzgraefe | Date: | Wed, 11 Dec 2002 14:33:14 +0000 |
| Subject: | Re: DOCUMENT_ROOT with Zend API | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92354@lists.php.net to get a copy of this message | ||
Krzysztof Socki wrote:
Hello! I'm writing a new function to PHP using the Zend API. I need to know the DOCUMENT_ROOT value of the running script. I've read through the lxr.php.net and I still have no idea how to do that. Is it possible with the Zend API, at all? Does anybody know the way?it is in $_SERVER hash if the SAPI provided it, so that is the place to look for ... is this still about your include-hiding? ever considered auto-prepend files for this? -- Six Offene Systeme GmbH http://www.six.de/ i.A. Hartmut Holzgraefe Email: hartmut@six.de Tel.: +49-711-99091-77