how Php interact