Re: [PHP-DEV] DOCUMENT_ROOT with Zend API

2002-12-11 Thread Hartmut Holzgraefe
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?

Krzysiek Socki
[EMAIL PROTECTED]





and *PLEASE* make some space in your inbox before sending further questions
getting


   E-mail Account: imprev is over the limit of 31457280 bytes.

auto-replies all the time is starting to get very annoying



--
Six Offene Systeme GmbH http://www.six.de/
i.A. Hartmut Holzgraefe
Email: [EMAIL PROTECTED]
Tel.:  +49-711-99091-77


--
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] DOCUMENT_ROOT with Zend API

2002-12-11 Thread Hartmut Holzgraefe
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 
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] DOCUMENT_ROOT with Zend API

2002-12-11 Thread Krzysztof Socki
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?

Krzysiek Socki
[EMAIL PROTECTED]



-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php