By server, I'm hoping you mean website. In any case, it would help if you could post the address for the server, as this will require usage of sockets, and the best way to write a socket script is to be able to see what is actually being sent to the website and what the website is returning.