ID:               19546
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache related
 Operating System: FreeBSD 4.6
 PHP Version:      4.2.2
 New Comment:

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.


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

[2002-09-21 22:46:49] [EMAIL PROTECTED]

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

Reply via email to