Voting

: seven plus two?
(Example: nine)

The Note You're Voting On

abentley at panoramicfeedback dot com
21 years ago
Here's an update to tomwk's code:
function safe_virtual( $filename )
{
$curDir = getcwd();
virtual ( $filename );
chdir( $curDir );
}

This is better if you've already changed your current directory to be something other than your script's directory. It works for PHP4 and above.

<< Back to user notes page

To Top