Home » , , , » Make HTTP Requests Using Curl and Decoding JSON Responses in PHP

Make HTTP Requests Using Curl and Decoding JSON Responses in PHP

Written By Unknown on Senin, 20 Agustus 2012 | 09.05

PHP has Curl library that let’s you communicate with other servers. The Curl libaray is enabled by installing cUrl extension in PHP.INI. You just need to uncomment “extension=php_curl.dll” in PHP.INI file to install Curl library.
 
As a php developer, sometimes we need to get data from other server or need to make request to other server like payment gateways integration, fetching catalog etc. By using Curl library, You can make http request to a server and get the required data.  you can also decode the JSON result with json_decode() function.

To read more about this article Click Here

 
Share this article :

Posting Komentar

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Kumpulan Kata Broadcast Blackberry - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger