PHP Image Upload object won't create directory on windows

Posted by ThinkingInBits on Stack Overflow See other posts from Stack Overflow or by ThinkingInBits
Published on 2010-05-11T15:09:34Z Indexed on 2010/05/11 15:14 UTC
Read the original article Hit count: 308

Filed under:
|
|
|
|

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

© Stack Overflow or respective owner

Related posts about php

Related posts about image-upload