Skip to content
Snippets Groups Projects
FAQ 41.5 KiB
Newer Older
  • Learn to ignore specific revisions
  •   curl in their projects, no matter what license they already have in use.
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    
    7. PHP/CURL Issues
    
      7.1 What is PHP/CURL?
    
      The module for PHP that makes it possible for PHP programs to access curl-
    
      functions from within PHP.
    
      In the cURL project we call this module PHP/CURL to differentiate it from
      curl the command line tool and libcurl the library. The PHP team however
      does not refer to it like this (for unknown reasons). They call it plain
      CURL (often using all caps) which causes much confusion to users which in
      turn gives us a higher question load.
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    
      7.2 Who write PHP/CURL?
    
      PHP/CURL is a module that comes with the regular PHP package. It depends and
      uses libcurl, so you need to have libcurl installed properly first before
      PHP/CURL can be used. PHP/CURL is written by Sterling Hughes.
    
      7.3 Can I perform multiple requests using the same handle?
    
    
      Yes - at least in PHP version 4.3.8 and later (this has been known to not
      work in earlier versions, but the exact version when it started to work is
      unknown to me).
    
    Daniel Stenberg's avatar
    Daniel Stenberg committed
    
    
      After a transfer, you just set new options in the handle and make another
      transfer. This will make libcurl to re-use the same connection if it can.