Jump to content

Basic doubt in PHP/CURL


epalani83

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/146822-basic-doubt-in-phpcurl/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.