$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://affiliate.frankstrade.com/plugins/PayPal/paypal.php?pap_custom=".$_GET['pap_custom']); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST); curl_exec($ch);