add register file to PHP folder