Quoting Scott MacVicar <sc...@macvicar.net>:

On 4 Aug 2009, at 04:49, dan...@zoltak.com wrote:

Quoting Scott MacVicar <sc...@macvicar.net>:
[snip]
You might be able to use sapi_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT"))

This method dosen't appear to work.

Any chance of a clarification on "doesn't appear to work"? Does it fail
to compile or is it killing unicorns :-)

To clarify it returns a NULL value.

[snip]
Do you know the first version it stopped working? 5.2.7 - 5.2.10 is
about 15 months worth of bug fixes. Narrowing it down to a particular
version would help.

I will determine the first version it stopped working with and get back to you.


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

Reply via email to