i am trying to use the CURL to get a respose back in a PHP web app..
curl -d "qid=QID&api_key=API_KEY&api_sig=API_SIG&time_stamp=TIMESTAMP" \
http://api.1.com/v1.2/result/
I have all the variables as known - but how do i form and execute above in PHP to get the result into a $RESULTRESPONSE variable? I am expecting a response in xml format back.
I know of curl_init, curl_exec, but not sure how curl_setopt comes into play for this. Thanks.