First steps with WiFly and Arduino

Hi

Yes I know I'm not retrieving the data arduino side I want to send it and I'll check it php/txt side. So essentially I want to send a GET to:

mypage.php?count=1

And the php will write it to a file. It's the openconnection, while loop and closeconnection in that code which I think will help me.