curl-and-php
Re: simulateous POST and GET request
From: Richard Lynch <ceo_at_l-i-e.com>
Date: Tue, 1 Jan 2008 17:42:19 -0600 (CST)
Date: Tue, 1 Jan 2008 17:42:19 -0600 (CST)
On Sat, December 8, 2007 12:08 am, Rodik wrote:
> I need to make POST and GET requests simulateously, but it seems that
> curl doesn't support posting data to url with get data. I tryed to set
> both CURLOPT_HTTPGET and CURLOPT_POST but it didn't work.
> For example I need to POST var2=var2 to
> http://www.example.com/index.php?var1=var1.
What happens if you use the GET parameters just as part of the URL
with CURLOPT_URL ?...
-- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2008-01-02