php connects to pola server with valid query