PHP cURL

cURL stands for client URL. This is basically a library which allows communicating with many different type of server with different protocols like HTTP, FTP etc. When we work on XAMPP or WAMP(localhost) then cURL library is included in it. To enable the cURL we have to edit php.ini file which are shown below. Instead … Read more

Send Form Data as JSON via AJAX with JQuery

Send Form Data as JSON via AJAX with JQuery

In previous post we have seen how to send data in serialized form with ajax using searialize() method. Now we will see how to post json data with ajax using serializeArray(). Before proceed we must know what is the difference between serialize() and serializeArray(). serializeArray creates an array and serialize is used to mean a … Read more