<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>哥哥万的博客 &#187; PHP</title>
	<atom:link href="http://www.gegewan.org/cat/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gegewan.org</link>
	<description>我是哥哥万，也是gegewan，伪程序员</description>
	<lastBuildDate>Thu, 19 Aug 2010 02:49:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP准确取得在线IP的方法</title>
		<link>http://www.gegewan.org/html/128.html</link>
		<comments>http://www.gegewan.org/html/128.html#comments</comments>
		<pubDate>Sat, 09 Jan 2010 19:58:05 +0000</pubDate>
		<dc:creator>gegewan</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.gegewan.org/html/128.html</guid>
		<description><![CDATA[if(getenv(&#8216;HTTP_CLIENT_IP&#8217;) &#38;&#38; strcasecmp(getenv(&#8216;HTTP_CLIENT_IP&#8217;), &#8216;unknown&#8217;)) {   &#160;&#160;&#160; $onlineip = getenv(&#8216;HTTP_CLIENT_IP&#8217;);    } elseif(getenv(&#8216;HTTP_X_FORWARDED_FOR&#8217;) &#38;&#38; strcasecmp(getenv(&#8216;HTTP_X_FORWARDED_FOR&#8217;), &#8216;unknown&#8217;)) {    &#160;&#160;&#160; $onlineip = getenv(&#8216;HTTP_X_FORWARDED_FOR&#8217;);    } elseif(getenv(&#8216;REMOTE_ADDR&#8217;) &#38;&#38; strcasecmp(getenv(&#8216;REMOTE_ADDR&#8217;), &#8216;unknown&#8217;)) {    &#160;&#160;&#160; $onlineip = getenv(&#8216;REMOTE_ADDR&#8217;);    } elseif(isset($_SERVER['REMOTE_ADDR']) &#38;&#38; $_SERVER['REMOTE_ADDR'] &#38;&#38; strcasecmp($_SERVER['REMOTE_ADDR'], &#8216;unknown&#8217;)) {  [...]]]></description>
		<wfw:commentRss>http://www.gegewan.org/html/128.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
