Hey, I'm trying to use CURL for sending some headers to paypal. Can anyone tell me why this code below doesn't work as expected???
$ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://www.paypal.com/cgi-bin/webscr"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "cmd=_cart&update=Update&$vard=1"); curl_exec ($ch); curl_close ($ch); PS: $vard is defined. Thanks in advance Stefan - Romania -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]