From:             [EMAIL PROTECTED]
Operating system: WIN NT
PHP version:      4.0.6
PHP Bug Type:     Filesystem function related
Bug description:  realpath(): wrong results with $PHP_SELF

Hi 

realpath($PHP_SELF);

doesn't give the same result as 

realpath('index.php');

While the result of the second example is correct, the first one outputs only part of 
the value, in my case:

Correct: d:\inetpub\wwwroot\blue\index.php
Result:  d:\blue\index.php

wwwroot is DOCUMENT_ROOT in my case. 
I use NT4/IIS with PHP as ISAPI (not in safe mode).

Christoph


-- 
Edit Bug report at: http://bugs.php.net/?id=11640&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to