Not sure what you mean ... i tried to follow the same function declaration as the official php rename()  http://us2.php.net/rename