Page 1 of 1

Basic doubt in PHP/CURL

Posted: Wed Feb 25, 2009 12:32 am
by epalani83
Hi,

If we use curl functions for web services, then its comes under which delivery method: Normal HTTP post or Direct socket interface?

sample code:
ob_start();
$ch = curl_init ($output_url);
curl_setopt ($ch, CURLOPT_VERBOSE, 1);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $output_transaction);
curl_exec ($ch);
curl_close ($ch);
$process_result = ob_get_contents();
ob_end_clean();

Thanks in advance for your reply.

Regards,
Palani

Re: Basic doubt in PHP/CURL

Posted: Wed Feb 25, 2009 12:58 am
by requinix
epalani83 wrote:If we use curl functions for web services, then its comes under which delivery method: Normal HTTP post or Direct socket interface?
Explain yourself.