";
} else {
print "The source of $target doesn't exist.
";
}
} else {
print "Something at $link already exists. (It is a file, folder, or a symlink.)
";
}
}
// This finds the home folder on the account
function getHome(){
$home_array = $_SERVER['SCRIPT_FILENAME'];
$home_split = split ('/', $home_array);
$home = "/".$home_split['1']."/".$home_split['2'];
return $home;
}
// Set the permissions for the folder that has the stats in it
function settargetperm($target){
if(is_dir($target) or is_file($target) or is_link($target)){
chmod ($target, 0755);
print "The folder $target has been set to 0755 for it's permissions.";
}
}
// This will find the folders for webalizer
function findwebalizer($gettarget){
print "\n";
print "
\n";
}
?>