This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Profile Created --> | |
<form target="_new" method="post" action="http://www.yourdomain.com/youripnhandler.php"> | |
<input type="hidden" name="verify_sign" value="ASsJ54wcfEJZVuwOMU8vBNHZb1TpAf7F4PMLvKL2uni1hb11jdOgdd2V" /> | |
<input type="hidden" name="period_type" value="Regular" /> | |
<input type="hidden" name="payer_status" value="verified" /> | |
<input type="hidden" name="test_ipn" value="1" /> | |
<input type="hidden" name="tax" value="0.00" /> | |
<input type="hidden" name="payer_email" value="[email protected]" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Curl function to send POST data to a server. | |
function curl_request($url, $req, $ssl) | |
{ | |
$curl_result=$curl_err=''; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL,$url); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); | |
curl_setopt($ch, CURLOPT_POSTFIELDS, $req); |