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: [EMAIL PROTECTED] Tel.: +49-711-99091-77 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php