I have been having a tough time with mkdir() to get it to function in windows using CakePHP.
This doesn't work properly in windows
mkdir($this -> webroot . "uploads/abc");
Use this instead
mkdir(getCwd() . "/uploads/abc");
Wasted a hell of a time on this. Hope someone else doesn't.
Back to work!