I am looking for some help in checking if there is a folder, and if the folder is not created it will create it and place the file they uploaded in it. So for example, user "Don" logs in. He uploads a file to his folder and creates his folder unless it has already been created.
You can use is_dir(string $filename) http://au.php.net/is_dir to check for the directory And use mkdir (string $pathname) to create one if needed. http://au.php.net/manual/en/function.mkdir.php
//variable holds the username $userName = $_POST['username']; //checking if a directory does NOT exists with his name in the current directory //create the directory if(!is_dir($userName))) { mkdir($userName) } //your upload code goes here Code (markup): Thats the basic idea