I have successfully created a directory inside wordpress using the following:
$tempDir = ABSPATH . 'wp-content' . DIRECTORY_SEPARATOR . 'themes' . DIRECTORY_SEPARATOR . 'used-car-lot-theme';
however, when i try to use rename:
ABSPATH . 'wp-content' . DIRECTORY_SEPARATOR . 'themes' . DIRECTORY_SEPARATOR . 'used-car-lot-theme');
I get the subject error message: [function.rename]: Access is denied. (code: 5)
I’m fairly certain it’s a Windows thing but after a day of searching for answers I have no clue how to attack
Any help would be greatly appreciated.