Nile I'm still pretty New to all this can you be a little more specific.... I followed your link and I tried to put it together myself with no luck... The directory "Schmoopy" was created, but no files were inside the directory... This is what I tried.
PHP Code:
<?php
// For this example, I'll just set it to my username
$username = 'Schmoopy';
// Code to authenticate login above
// The code below assumes the user logged in successfully
// And that the username is stored in the variable $username
$path = 'users/' . $username;
if(!is_dir($path)) {
// If the directory does not exist, create it
mkdir($path);
} else {
// Code to add files / refresh files here
$file = 'image_upload.php';
$newfile = 'image_upload2.php';
if (!copy($file, $newfile)) {
echo "failed to copy $file...n";
}
}
?>
Bookmarks