preparing to talk with php code