// you cannot see it here, but $login contains a username. (The username is the name of the file)
// eg. an user named "sharal" would have an associated xml file named "sharal.xml"
// this is not exactly what i want it to do, but it simply renames the file with it's original name
// and adds "old" behind it
$old = "old";
$new_path = $login . $old;
rename($path.$file.".xml", $path.$new_path.".xml"); ?>