#19546 [Fbk->NoF]: virtual(...) changes current directory
| From: | php-bugs at lists dot php dot net | Date: | Wed, 23 Oct 2002 06:00:05 +0000 |
| Subject: | #19546 [Fbk->NoF]: virtual(...) changes current directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23086@lists.php.net to get a copy of this message | ||
ID: 19546
Updated by: php-bugs@lists.php.net
Reported By: zen@heavengames.com
-Status: Feedback
+Status: No Feedback
Bug Type: Apache related
Operating System: FreeBSD 4.6
PHP Version: 4.2.2
New Comment:
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-10-07 21:52:28] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Cannot replicate in 4.3.0-dev.
------------------------------------------------------------------------
[2002-09-21 22:46:49] zen@heavengames.com
Description:
virtual() changes current working directory.
Setup:
Apache 1.3.26 + PHP 4.2.2
To replicate:
chdir('/home/heavengames.com/php/');
echo getcwd(); // prints "/home/heavengames.com/php/"
virtual('/includes/html_top.shtml');
echo getcwd(); // prints
"/home/heavengames.com/includes/html_top.shtml"
Expected Behavior:
The second getcwd call should still report "/home/heavengames.com/php"
as the current directory.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19546&edit=1