If you have cURL installed, you can post variables using something like the following:
$URL="www.paypal.com/cgi-bin/webscr";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"https://$URL");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $poststring);
curl_exec ($ch);
curl_close ($ch);
for PayPal, obviously. I'm working on that right now also.