client & match server (php)