And the problem is you don't know how to format the data, right? Sorry but this is out of scope of this forum. I suggest you take a network sniffer such as iptraf, ettercap or tcpdump, send a post request to some php page and see how the data is formatted.