From: [EMAIL PROTECTED] Operating system: freebsd 4.3-stable PHP version: 4.0.6 PHP Bug Type: Apache related Bug description: function "virtual"
Calling the function "virtual" with relative path as a parameter changes current working dirrectory for the calling script. Example follows: <!--uuu.php--> <?php echo getcwd(); virtual("ssi/uuu.html"); echo getcwd(); ?> <!--ssi/uuu.html--> <h4>ssi/uuu.html</h4> Output is: /usr/home/project/public_html/mb ssi/uuu.html /usr/home/project/public_html/mb/ssi -- Edit bug report at: http://bugs.php.net/?id=14229&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]