[PHP-DEV] Bug #11640: realpath(): wrong results with $PHP_SELF From: c.steinmann <email protected>
Date: 06/24/01

From: c.steinmann <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>