can somebody tell me why this doesnt work:
im trying to take input from a form (works), create a directory based on that information (works) then copy 2 files from the setup directory to the new directory that was created from the form (doesnt work, copy files code is below):
where $home is the path to the directory that has the original files and $new is the path to the directory created by the first part of the script.
$blog_file_1 = "'$home' . '/' . 'blog1.php'";
$dest_file_1 = "'$new' . '/' . 'admin.php";
$blog_file_2 = "'$home' . '/' . 'blog2.php'";
$dest_file_2 = "'$new' . '/' . 'index.php";
copy($blog_file_1, $dest_file_1);
copy($blog_file_2, $dest_file_2);
thanks!