Hey Tom,
Google returned this ("generate post request php" about ten items down):
http://www.alt-php-faq.org/local/55/
Haven't tried it, but all it does is creates a HTTP header for a POST
connection, and uses a socket connection to a particular server on port 80 to
send the data.
Roger