Page 1 of 1

generate a folder on uploading

Posted: Fri Jul 07, 2006 4:48 pm
by yshaf13
when i upload a file using "move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)" in $target_path there is a path that contains variables-- folders which don't exist-- how do i get php to generate whatever folder is in $target_path?

Posted: Fri Jul 07, 2006 5:25 pm
by Luke

Code: Select all

mkdir()