03.02.2014 Views

php|architect's Guide to Web Scraping with PHP - Wind Business ...

php|architect's Guide to Web Scraping with PHP - Wind Business ...

php|architect's Guide to Web Scraping with PHP - Wind Business ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

74 ” Zend_Http_Client<br />

<br />

Configuration<br />

Zend_Http_Client has configuration settings much like the context options of the<br />

HTTP streams wrapper, configuration settings of the cURL extension, and request<br />

options of the pecl_http extension. As sho wn in the example belo w , settings are declared<br />

in the form of an associative array of setting name-value pairs and can be<br />

passed either as the second parameter <strong>to</strong> the Zend_Http_Client construc<strong>to</strong>r or later<br />

via its setConfig method.<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!