curl-and-php
Re: Retain Post Fields
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 22 Oct 2006 09:39:49 +0200 (CEST)
Date: Sun, 22 Oct 2006 09:39:49 +0200 (CEST)
On Sat, 21 Oct 2006, Kelton Woodman wrote:
> but using the postfields option on curl it would replace everything.
A POST is a POST, it never retains or replaces anything. It sends away a chunk
of data to the server. You (as in the http client app) decide what to send.
So do whatever you need to get info about the current state, add the new stuff
and POST away.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-10-22