ID: 14214
Updated by: edink
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Filesystem function related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

For a descrioption of a problem and a solution
plaese see: http://bugs.php.net/bug.php?id=14839

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

[2002-01-07 02:22:47] [EMAIL PROTECTED]

Closed it should be.

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

[2001-12-17 07:14:32] [EMAIL PROTECTED]

No feedback. Closing.

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

[2001-11-26 02:44:36] [EMAIL PROTECTED]

What is your configure line?

Derick

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

[2001-11-24 18:47:19] [EMAIL PROTECTED]

I've written a small shell script in PHP, which should return the
current working directory:

-----
#!/usr/bin/php -q
<?php
echo `pwd`;
echo getcwd();
?>
-----

I've stored the script as /scripts/test.php and on the shell, I'm in
/scripts/Testing.  When I run the script with »../test.php«, it returns
»/scripts« two times.  I'd expect it to return »/scripts/Testing« two
times.

However, HTTP_ENV_VARS['PWD'] and HTTP_SERVER_VARS['PWD'] both contain
the correct (ie. /scripts/Testing) path.

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



Edit this bug report at http://bugs.php.net/?id=14214&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