>>165
$path = "./filebox/";
$bfile = "A.txt";
$rfile = "B.txt";
rename("$path.$bfile", "$path.$rfile");