ID: 10874
User Update by: [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] [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] [EMAIL PROTECTED]
Cannot recreate this on any system with current CVS.

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

[2001-05-15 05:42:36] [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to