<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 12:09:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ProDevTips.com: Parsing with Zend HTTP Client]]></title>
      <guid>http://www.phpdeveloper.org/news/12101</guid>
      <link>http://www.phpdeveloper.org/news/12101</link>
      <description><![CDATA[<p>
On ProDevTips.com there's <a href="http://www.prodevtips.com/2009/03/09/parsing-with-zend-http-client/">a quick new tutorial</a> posted about using the Zend_Http component of the <a href="http://framework.zend.com">Zend Framework</a> to fetch a remote page that requires cookie authentication - a "cookie jar".
</p>
<blockquote>
As it happens I'm very satisfied with the performance of Zend Http when it comes to the fetching and cookie parts. [...] Note [in my example] the use of $client->setCookieJar();, that is all that is needed to manage the logged in state, awesome. Without it the second post to adv_stats.php would've failed due to unauthorized access.
</blockquote>
<p>
This fetching method pulls in the remote file, parses out the table (as defined by a pattern match) and grabs the rows/columns using getRows and getColumns and manipulates the content inside.
</p>]]></description>
      <pubDate>Tue, 10 Mar 2009 10:25:02 -0500</pubDate>
    </item>
  </channel>
</rss>
