SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard
    Join Date
    May 2012
    1 Post(s)
    0 Thread(s)

    Post What is the importance of cURL and when to use this.

    Hi, to all sitepoint people, can anyone shade my mind what is the importance of cURL and when to use this in programming.

    Thank you

  2. #2
    SitePoint Member
    Join Date
    May 2013
    0 Post(s)
    0 Thread(s)
    cURL is a very very important PHP library. It is built on the libcurl library which is designed for file transfer over most protocols and is supported on most operating systems. In PHP cURL is designed to add quick easy file transfer functionality to webpages. libcurl and curl are command line functions, the use of cURL is script based but still invokes to command line function of the library.

    An example would be invoking cURL to retrieve Instead of a web browser like response that would display Google's front page, this would return the source code for the page.

    cURL is usually used in conjunction with HTML parser scripts, regex, and the like, to grab parts of webpages and republish them.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts