cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: curllib and custom headers

From: Lez Lytollis <lez.lytollis_at_ntlworld.com>
Date: Wed, 14 Aug 2002 00:47:28 +0100

solved my own problem:

I replaced the CUSTOMREQUEST option with:

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlData);

and now it works - CUSTOMREQUEST must kill all the other headers that are
set somehow

That'll teach me to try and be smart!

Cheers

LezL

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 03/08/2002
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Received on 2002-08-14