<?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>Fri, 24 May 2013 16:20:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMac.com: IP Banning]]></title>
      <guid>http://www.phpdeveloper.org/news/4937</guid>
      <link>http://www.phpdeveloper.org/news/4937</link>
      <description><![CDATA[PHPMac.com has posted <a href="http://phpmac.com/articles.php?view=248">a quick tutorial</a> on how to "ban an IP" from your site.
<p>
<quote>
<i>
Blocking certain IP addresses from your site is actually much easier than you might think.
<p>
In fact, it is only a seven-line code inserted at the top of your page!
</i>
</quote>
<p>
<a href="http://phpmac.com/articles.php?view=248">The code</a> basically just looks in an array of IP values and checks to see if the remote user's matches any of them. If it does, it echos out an error and stops the page execution. Obviously, this is just a basic example, and could be enhanced with a databse table that would be easier to manage than just the static array.]]></description>
      <pubDate>Mon, 06 Mar 2006 07:18:29 -0600</pubDate>
    </item>
  </channel>
</rss>
