Here is a pure PHP5 solution, http://stackoverflow.com/questions/5647461/how-do-i-send-a-post-request-with-php