[PHP-DEV] Bug #10874 Updated: getcwd() always return empty string. From: artem <email protected>
Date: 05/15/01

ID: 10874
User Update by: artem <email protected>
Old-Status: Feedback
Status: Open
Bug Type: Directory function related
Operating system: Linux Redhat7.0
PHP Version: 4.0.5
Description: getcwd() always return empty string.

Apache, static module.

see result of this script

<?php
 echo "pwd: '".`pwd`."'<br>";
 echo "getcwd: '".getcwd()."'<br>";
 phpinfo();
?>

on http://www2.osp.ru/~artem/t8.php

Previous Comments:
---------------------------------------------------------------------------

[2001-05-15 05:55:59] derick <email protected>
I can't reproduce this too.

What SAPI are you using (Which webserver, and CGI or Module)?

Derick

---------------------------------------------------------------------------

[2001-05-15 05:48:48] swm <email protected>
Cannot recreate this on any system with current CVS.

---------------------------------------------------------------------------

[2001-05-15 05:42:36] artem <email protected>
<?php
 echo "'".getcwd()."'";
?>

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=10874

-- 
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>