curl-and-php
RE: Command line works....can't get libcurl or exec (curl) to post to https
From: Williams, Art <art4_at_prolifeinsurance.com>
Date: Tue, 3 Aug 2004 14:40:55 -0400
Date: Tue, 3 Aug 2004 14:40:55 -0400
>> Here is what doesn't work...
>>
>> $st = exec("curl -b cookies.txt -c cookies.txt -d $clientstring
>> https://www.myagency.net/iQuote/iQuote.asp?sid=11337&tid=1");
>>
>> echo $st;
>>
>What happens?
It seems to pass the variables correctly to the system, because I can go
into the database at the third party's server and see the results of the
form POST, but for the user browser window goes blank and doesn't print
the results to the screen. There should be a page with a list of quotes
that are printed on the browser window.
Received on 2004-08-03