I have successfully created a directory inside wordpress using the following:
$tempDir = ABSPATH . 'wp-content' . DIRECTORY_SEPARATOR . 'themes' . DIRECTORY_SEPARATOR . 'used-car-lot-theme';
mkdir($tempDir,0700);
however, when i try to use rename:
rename(ABSPATH.'wp-content'.DIRECTORY_SEPARATOR.'plugins'.DIRECTORY_SEPARATOR.'used-car-lot'.DIRECTORY_SEPARATOR.'twentyten1',
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
the problem.
Any help would be greatly appreciated.