Home » Interview Question » CURL » What is curl in Php?

What is curl in Php?

Curl in php

Curl stand 'Client for URLs' means it deals with URLs. to use PHP's cURL functions you need to install the curl library in your server.

Curl means client URL , php supports libcurl which allows to communicate different types of servers with many different types of protocol. curl_init() function use to initialize a curl session, and you can set all options for the transfer via the curl_setopt(),curl_exec()function is used to execute the session and at the end of curl program.you can finish off your session using the curl_close().

PHP CURL GET& POST Examples – Submit Form using PHP CURL

PHP CURL GET Example

PHP CURL POST Example

, , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">