News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DZone.com:
All the ways to perform HTTP requests in PHP
July 03, 2012 @ 10:18:21

On DZone.com there's a recent post from Giorgio Sironi listing out some of the HTTP client utilities that can be used in your PHP applications.

In the PHP world, HTTP is very important: not only for receiving requests, which is the job of PHP application, but also for performing them. ROT web services are probably the most popular way to interface with external systems nowadays. We'll make no assumptions on the payload of HTTP requests (which may be binary, text, JSON, XML), so you'll have to deal with that yourself. In some cases, you may choose a more specific solution such as the SoapClient class in the SOAP extension, or the XML-RPC extension.

Among the methods he mentions are things like the cURL extension, the PECL HTTP extension. He also talks about some of the libraries out there that are popular among developers (Buzz and Guzzle) as well as the modules included in the Zend Framework (v1 and v2) to make the requests.

0 comments voice your opinion now!
http request library extension function


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: PHP Built in Input filtering

SitePoint PHP Blog: On $_GET and $_POST

Tomas Petricek's Blog: Writing Silverlight applications in PHP

Christopher Jones' Blog: Casting PL/SQL arrays as REF CURSORS for Ruby (and PHP)

Greg Beaver's Blog: behold pecl/phar and mighty PHP 5.3, also php|arch and php|tek


Community Events





Don't see your event here?
Let us know!


conference security version community introduction laravel library language voicesoftheelephpant composer framework list tool series symfony opinion interview artisanfiles release podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework