Re: [PHP] Problems with Curl and POST

2007-04-19 Thread Tijnema !
On 4/17/07, mbneto [EMAIL PROTECTED] wrote: Hi Richard, I am using the same script. And it is using the CURLOPT_POST. - mb On 4/16/07, Richard Lynch [EMAIL PROTECTED] wrote: HEAD is just like GET, only it gets just the headers (hence the name) usually to see if the document has changed

[PHP] Problems with Curl and POST

2007-04-16 Thread mbneto
Hi, I am tring to use curl to access, via POST, a remote 'service'.I've managed to test it fine but when I use real data to feed the curl it gives me strange results. When I check the logs of the remote web server one thing that alarms me is that with test data I see A.B.C.D - -

Re: [PHP] Problems with Curl and POST

2007-04-16 Thread Richard Lynch
HEAD is just like GET, only it gets just the headers (hence the name) usually to see if the document has changed according to LastModified: before doing a full-blown GET. There shouldn't be a HEAD done before a POST... Are you sure you are doing a CURLOPT_POST and not CURLOPT_GET...? On Mon,

Re: [PHP] Problems with Curl and POST

2007-04-16 Thread mbneto
Hi Richard, I am using the same script. And it is using the CURLOPT_POST. - mb On 4/16/07, Richard Lynch [EMAIL PROTECTED] wrote: HEAD is just like GET, only it gets just the headers (hence the name) usually to see if the document has changed according to LastModified: before doing a