rename and timer in php