PHP Image Upload object won't create directory on windows
- by ThinkingInBits
I'm writing a class that excepts a product_id and a $_FILES array as it's constructor. The class saves these variables and uses them to create a new directory named by product_id and attempts to copy the temp file to my specified directory.
For some reason my class isn't even getting as far as creating a directory (which should happen in the constructor)
Here's a link to my code: http://pastie.org/955454