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.
Ok. I tryed latest snapshot from http://snaps.php.net/
It doesn't have this bug.
I recompiled 4.0.5 - it has bug.
see difference:
http://www2.osp.ru/~artem/t8/t8-dev.html
http://www2.osp.ru/~artem/t8/t8-405.html
Previous Comments:
---------------------------------------------------------------------------
[2001-05-16 00:29:52] [EMAIL PROTECTED]
I can't reproduce this either.
Please try latest snapshot from http://snaps.php.net/
--Jani
---------------------------------------------------------------------------
[2001-05-15 06:26:29] [EMAIL PROTECTED]
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
---------------------------------------------------------------------------
[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()."'";
?>
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the
comments, please view the bug report online.
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]