code transfer tool in PHP