This is in a custom php page, it calls global at the beginning...
I even wrote out an template register variable that calls $temp_dir
and it outputs
/temp/Mick/
But I am not sure why its writing the file to /temp/ and NOT /temp/Mick
PHP Code:
// ######################### REQUIRE BACK-END ############################ // if your page is outside of your normal vb forums directory, you should change directories by uncommenting the next line // chdir ('/path/to/your/forums'); require_once('./global.php');