<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Restict Logins by IP Address</title> <atom:link href="http://deadlytechnology.com/php/ip-address-script/feed/" rel="self" type="application/rss+xml" /><link>http://deadlytechnology.com/php/ip-address-script/</link> <description></description> <lastBuildDate>Wed, 08 Sep 2010 21:51:34 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: frank</title><link>http://deadlytechnology.com/php/ip-address-script/comment-page-1/#comment-710</link> <dc:creator>frank</dc:creator> <pubDate>Tue, 07 Sep 2010 10:25:26 +0000</pubDate> <guid
isPermaLink="false">http://deadlytechnology.com/scripts/php/ip-address-script/#comment-710</guid> <description>Thanks Jen, good spotting, all fixed.</description> <content:encoded><![CDATA[<p>Thanks Jen, good spotting, all fixed.</p> ]]></content:encoded> </item> <item><title>By: Jen</title><link>http://deadlytechnology.com/php/ip-address-script/comment-page-1/#comment-354</link> <dc:creator>Jen</dc:creator> <pubDate>Wed, 15 Apr 2009 09:19:36 +0000</pubDate> <guid
isPermaLink="false">http://deadlytechnology.com/scripts/php/ip-address-script/#comment-354</guid> <description>Thanks for the function btw, its been really useful, one small tweak though....instead of
&#039;/&#039;.$ipregex.&#039;/&#039;should be:
&#039;/^&#039;.$ipregex.&#039;/&#039;Only because if an allowed IP was
$ip[] = &#039;&#039;211.*.*.*&#039;&#039;;it would also allow an IP of 74.192.211.23</description> <content:encoded><![CDATA[<p>Thanks for the function btw, its been really useful, one small tweak though&#8230;.</p><p>instead of<br
/> &#8216;/&#8217;.$ipregex.&#8217;/&#8217;</p><p>should be:<br
/> &#8216;/^&#8217;.$ipregex.&#8217;/&#8217;</p><p>Only because if an allowed IP was<br
/> $ip[] = &#8221;211.*.*.*&#8221;;</p><p>it would also allow an IP of 74.192.211.23</p> ]]></content:encoded> </item> <item><title>By: Luke Eckley</title><link>http://deadlytechnology.com/php/ip-address-script/comment-page-1/#comment-159</link> <dc:creator>Luke Eckley</dc:creator> <pubDate>Wed, 15 Oct 2008 15:20:13 +0000</pubDate> <guid
isPermaLink="false">http://deadlytechnology.com/scripts/php/ip-address-script/#comment-159</guid> <description>Thanks for the great PHP tip.</description> <content:encoded><![CDATA[<p>Thanks for the great PHP tip.</p> ]]></content:encoded> </item> <item><title>By: du</title><link>http://deadlytechnology.com/php/ip-address-script/comment-page-1/#comment-158</link> <dc:creator>du</dc:creator> <pubDate>Fri, 17 Aug 2007 14:08:20 +0000</pubDate> <guid
isPermaLink="false">http://deadlytechnology.com/scripts/php/ip-address-script/#comment-158</guid> <description>thank you. I was trying to make this on my own when I came across yours. Why do more work :) Very nice, short, and simple.du</description> <content:encoded><![CDATA[<p>thank you. I was trying to make this on my own when I came across yours. Why do more work :) Very nice, short, and simple.</p><p>du</p> ]]></content:encoded> </item> <item><title>By: franktank</title><link>http://deadlytechnology.com/php/ip-address-script/comment-page-1/#comment-156</link> <dc:creator>franktank</dc:creator> <pubDate>Sun, 08 Apr 2007 03:32:05 +0000</pubDate> <guid
isPermaLink="false">http://deadlytechnology.com/scripts/php/ip-address-script/#comment-156</guid> <description>Thanks, good spotting :)</description> <content:encoded><![CDATA[<p>Thanks, good spotting :)</p> ]]></content:encoded> </item> <item><title>By: eduke</title><link>http://deadlytechnology.com/php/ip-address-script/comment-page-1/#comment-157</link> <dc:creator>eduke</dc:creator> <pubDate>Sat, 07 Apr 2007 21:07:21 +0000</pubDate> <guid
isPermaLink="false">http://deadlytechnology.com/scripts/php/ip-address-script/#comment-157</guid> <description>HiThanks for this function. There is small bug in it. You are missing backslash in preg_replace.Should be like this:$ipregex = preg_replace(&quot;/\./&quot;, &quot;\.&quot;, $ip[$i]);
$ipregex = preg_replace(&quot;/\*/&quot;, &quot;.*&quot;, $ipregex);</description> <content:encoded><![CDATA[<p>Hi</p><p>Thanks for this function. There is small bug in it. You are missing backslash in preg_replace.</p><p>Should be like this:</p><p>$ipregex = preg_replace(&#8220;/\./&#8221;, &#8220;\.&#8221;, $ip[$i]);<br
/> $ipregex = preg_replace(&#8220;/\*/&#8221;, &#8220;.*&#8221;, $ipregex);</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 12/35 queries in 0.024 seconds using disk

Served from: deadlytechnology.com @ 2010-09-10 20:02:18 -->