libcurlemu - a pure PHP curl implementation (libcurl emulator)

advertisement logo

 

Have you came across a situation where you need to use php libcurl extension and it was not enabled on your webserver? Then, try libcurlemu, apure-PHP implementation to PHP cURL. It emulates all of the curl_* functions normally provided by the native cURL extension itself.

libcurlemu works transparently regardless of the availability of PHP cURL extensions, thus making your script even more portable across web server that does not have PHP cURL extensions.

What is libcurl / cURL?

cURL is a command-line tool that supports transfering files with URL syntax. It supports many protocols like FTP, FTPS, TFTP, HTTP, HTTPS, TELNET, DICT, FILE and LDAP.

libcurl is a library based on cURL that helps you to connect and communicate with different type of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, and ldap protocols.

For HTTP/HTTPS protocol, libcurl supports POST, PUT, GET and DELETE method, making it suitable for writing web services, particularly REST-like services.

Stay tune for code examples on how to use libcurl to emulate a browser submitting POST request to a server.

libcurlemu is written by Steve Blinch, and can be downloaded at his website : http://code.blitzaffe.com

php, libcurl, curl, rest, opensource

Bookmark this article These icons link to social bookmarking sites where readers can share and discover new web pages.
  • digg
  • YahooMyWeb
  • NewsVine
  • Netvouz
  • Reddit
  • Spurl
  • Furl
  • del.icio.us
  • StumbleUpon
  • Technorati
  • TwitThis

Keep updated with this website! : Subscribe to your email

Recommended Reading

2 smashing comments for this post.

  1. Blog Portal @ Blogtal.com Said:

    What IS good in life? … libcurlemu - a pure PHP curl implementation (libcu… Feb 21, 2006 12:01 AM - Mypapit’s blog @ Computers Have you came across a situation where you need to use php libcurl extension where it was not enabled on your webserver? Then, try

  2. Blog Portal @ Blogtal.com Said:

    What IS good in life? … libcurlemu - a pure PHP curl implementation (libcu… Feb 21, 2006 12:01 AM - Mypapit’s blog @ Computers Have you came across a situation where you need to use php libcurl extension where it was not enabled on your webserver? Then, try

Leave a Comment

Subscribe by email

Enter your Email