mutong php code for ace