<?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>Wed, 19 Jun 2013 02:53:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Easy manipulation of URLs]]></title>
      <guid>http://www.phpdeveloper.org/news/13510</guid>
      <link>http://www.phpdeveloper.org/news/13510</link>
      <description><![CDATA[<p>
On his codediesel.com blog today <i>Sameer Borate</i> has <a href="http://www.codediesel.com/pear/easy-manipulation-of-urls-in-php/">a quick post</a> looking at URL manipulation with the help of the <a href="http://pear.php.net/package/Net_URL2/">Net_URL2</a> PEAR package.
</p>
<blockquote>
Whether you are dynamically creating urls or changing existing ones, manipulation of urls is a frequent coding requirement during development; doing the same on short urls is easy, but quickly becomes complex for urls which have larger query parameters.
</blockquote>
<p>
He shows how to use the package to parse the current URL into its respective parts (host, port, path, etc) and how to automatically change certain parameters in the current URL and push the updated version back out the other side. There's also a bit there at the end on normalizing URLs.
</p>]]></description>
      <pubDate>Tue, 10 Nov 2009 12:48:49 -0600</pubDate>
    </item>
  </channel>
</rss>
