www code, sending data to server