|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-26 08:50 UTC] derick@php.net
[2001-11-26 09:15 UTC] project at vrs dot ru
[2001-11-26 10:33 UTC] sniper@php.net
[2001-11-28 08:03 UTC] project at vrs dot ru
[2002-08-14 13:46 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 09:00:01 2025 UTC |
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