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

curl-and-php

Re: Curl posting to a php script

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 1 Oct 2003 16:48:54 +0200 (CEST)

On Fri, 26 Sep 2003, Brian Moynihan wrote:

> We have a client who is using curl in a C program to HTTP POST us an xml
> file. On our side we have a php script to accept the file and save it to a
> folder on our server. To test this we created a C file of our own using
> curl.

Your program does a multipart formpost, is that really what you were
intending?

If so, enable VERBOSE or use the DEBUGFUNCTION to get trace-data to see
exactly what data libcurl sends away.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-01