generate a folder on uploading
Moderator: General Moderators
generate a folder on uploading
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?
Code: Select all
mkdir()