Re: [PHP] Re: POST fields through CURL

2002-08-11 Thread Bogdan Stancescu
Duh, yes, of course, I'm stupid - I forgot you were talking about Curl - I never used it so it may be the way you say it is. The piece of code I sent you was a part of what I used to build a full HTTP request (connecting to the server and sending it - everything done by hand), and Curl may be

RE: [PHP] Re: POST fields through CURL

2002-08-11 Thread Jonathan Rosenberg
Are you sure that the HTTP header should be on there? I don't believe that is correct. It is the use of CURLOPT_POSTFIELDS with the curl_setopt function that indicates that a POST is being made. I just checked the code I used for credit card clearing & it does NOT include the HTTP headers. Jus