<?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>网站设计&#124;数据库优化&#124;系统开发&#124;SEO搜索引擎优化&#124;在线营销&#124;联盟营销&#124;Webhosting----专家之路</title>
	<atom:link href="http://www.beingexperts.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.beingexperts.com</link>
	<description>Apache+PHP+MySQL, ajax, JS, PS帮助</description>
	<lastBuildDate>Thu, 29 Dec 2011 07:57:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google圣诞首页Doodle</title>
		<link>http://www.beingexperts.com/archives/google-christmas-doodle.html</link>
		<comments>http://www.beingexperts.com/archives/google-christmas-doodle.html#comments</comments>
		<pubDate>Mon, 26 Dec 2011 07:53:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP编程]]></category>
		<category><![CDATA[christmas 2011]]></category>
		<category><![CDATA[christmas doodle]]></category>
		<category><![CDATA[google christmas]]></category>
		<category><![CDATA[google doodle]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/?p=270</guid>
		<description><![CDATA[谷歌就是谷歌，在2011圣诞节来临之际推出了又一Doodle神作。
你可以通过点击六种颜色的按钮点亮Doodle里的字母，之后doodle就开始自己播放《铃儿响叮当》了。同时整个背景也变成黑色，配合闪... ]]></description>
			<content:encoded><![CDATA[<p>谷歌就是谷歌，在2011圣诞节来临之际推出了又一Doodle神作。</p>
<p>你可以通过点击六种颜色的按钮点亮Doodle里的字母，之后doodle就开始自己播放《铃儿响叮当》了。同时整个背景也变成黑色，配合闪亮的彩灯，非常漂亮。</p>
<p><iframe  height="500" marginHeight="0" src="http://www.beingexperts.com/wp-content/uploads/2011/12/holiday11/index.html" frameBorder="0" width="900" allowTransparency marginWidth="0" scrolling="no"></iframe></p>
<p>面对这么有收藏价值的Doodle，当然要把它扒下来，放在自己博客上炫一下了。Google保留所有权利。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/google-christmas-doodle.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP使用SSH扩展</title>
		<link>http://www.beingexperts.com/archives/php-extension-with-ssh.html</link>
		<comments>http://www.beingexperts.com/archives/php-extension-with-ssh.html#comments</comments>
		<pubDate>Tue, 01 Nov 2011 10:01:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP编程]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSH扩展]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/?p=254</guid>
		<description><![CDATA[PHP添加SSH扩展，就可以在WEB页面利用PHP来管理我们的Linux主机了。这样是不是对服务器管理人员来说，可以减轻不少的负担呢。
[Windows]
修改PHP.ini文件，添加extension = php_ssh2.dll;

$connection = ssh2_co... ]]></description>
			<content:encoded><![CDATA[<p>PHP添加SSH扩展，就可以在WEB页面利用PHP来管理我们的Linux主机了。这样是不是对服务器管理人员来说，可以减轻不少的负担呢。</p>
<p>[Windows]</p>
<p>修改PHP.ini文件，添加extension = php_ssh2.dll;</p>
<div id="_mcePaste"></div>
<div id="_mcePaste">$connection = ssh2_connect(&#8216;*.*.*.*&#8217;, 22);</div>
<div id="_mcePaste">if (ssh2_auth_password($connection, &#8216;user&#8217;, &#8216;pass&#8217;)) {</div>
<div id="_mcePaste">echo &#8220;Authentication Successful!\n&#8221;;</div>
<div id="_mcePaste">} else {</div>
<div id="_mcePaste">die(&#8216;Authentication Failed&#8230;&#8217;);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">$stream = ssh2_exec($connection, &#8216;ls&#8217;);</div>
<div id="_mcePaste">stream_set_blocking($stream, true);</div>
<div id="_mcePaste">$data = &#8220;&#8221;;</div>
<div id="_mcePaste">while($buf = fread($stream, 4096)) {</div>
<div id="_mcePaste">$data .= $buf;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">fclose($stream);</div>
<div id="_mcePaste">echo $data;</div>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/php-extension-with-ssh.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache mod_rewrite规则重写标志</title>
		<link>http://www.beingexperts.com/archives/apache-mod-rewrite-label.html</link>
		<comments>http://www.beingexperts.com/archives/apache-mod-rewrite-label.html#comments</comments>
		<pubDate>Sun, 09 Oct 2011 01:59:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP编程]]></category>
		<category><![CDATA[apache rewrite code]]></category>
		<category><![CDATA[mod-rewrite]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/?p=250</guid>
		<description><![CDATA[1、 R[=code](force redirect) 强制外部重定向。
强制在替代字符串加上http://www.beingexperts.com[:thisport]/前缀重定向到外部的URL.如果code不指定，将用缺省的302 HTTP状态码。
2、 F(force URL to be forbidden)禁用UR... ]]></description>
			<content:encoded><![CDATA[<p>1、 R[=code](force redirect) 强制外部重定向。</p>
<p>强制在替代字符串加上<a href="http://www.beingexperts.com">http://www.beingexperts.com</a>[:thisport]/前缀重定向到外部的URL.如果code不指定，将用缺省的302 HTTP状态码。</p>
<p>2、 F(force URL to be forbidden)禁用URL,返回403HTTP状态码。</p>
<p>3、 G(force URL to be gone) 强制URL为GONE，返回410HTTP状态码。</p>
<p>4、 P(force proxy) 强制使用代理转发。</p>
<p>5、 L(last rule) 表明当前规则是最后一条规则，停止分析以后规则的重写。</p>
<p>6、 N(next round) 重新从第一条规则开始运行重写过程。</p>
<p>7、 C(chained with next rule) 与下一条规则关联</p>
<p>如果规则匹配则正常处理，该标志无效，如果不匹配，那么下面所有关联的规则都跳过。</p>
<p>8、 T=MIME-type(force MIME type) 强制MIME类型</p>
<p>9、 NS (used only if no internal sub-request) 只用于不是内部子请求</p>
<p>10、 NC(no case) 不区分大小写</p>
<p>11、 QSA(query string append) 追加请求字符串</p>
<p>12、 NE(no URI escaping of output) 不在输出转义特殊字符</p>
<p>例如：RewriteRule /foo/(.*)  /bar?arg=P1\%3d$1 [R,NE] 将能正确的将/foo/zoo转换成/bar?arg=P1=zoo</p>
<p>13、 PT(pass through to next handler) 传递给下一个处理</p>
<p>14、 S=num(skip next rule(s)) 跳过num条规则</p>
<p>15、 E=VAR:VAL(set environment variable) 设置环境变量</p>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/apache-mod-rewrite-label.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google+试用</title>
		<link>http://www.beingexperts.com/archives/google-invite-received-we-go-hands-on.html</link>
		<comments>http://www.beingexperts.com/archives/google-invite-received-we-go-hands-on.html#comments</comments>
		<pubDate>Thu, 30 Jun 2011 07:57:06 +0000</pubDate>
		<dc:creator>bobo</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[invitation]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/?p=228</guid>
		<description><![CDATA[Google最近酝酿有2个比较有影响力的产品，首先是panda 2.2的出世，给整个SEO领域带来了不少冲击；与此同时，对google+进行着小范围测试，引起了 社交领域的蠢蠢欲动。今天，我们来体验一下，Go... ]]></description>
			<content:encoded><![CDATA[<p>Google最近酝酿有2个比较有影响力的产品，首先是panda 2.2的出世，给整个SEO领域带来了不少冲击；与此同时，对google+进行着小范围测试，引起了 社交领域的蠢蠢欲动。今天，我们来体验一下，Google+的神奇之处。</p>
<p>首先，这个是整体的一个用户界面：</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/google-hands-on-600-lead.jpg"></a><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-004.jpg"><img class="aligncenter size-full wp-image-230" title="googlepluswebhandson-004" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-004.jpg" alt="" width="800" height="465" /></a></p>
<p>登陆状态下Google web搜索页面是这样的：</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-001.jpg"><img class="aligncenter size-full wp-image-231" title="googlepluswebhandson-001" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-001.jpg" alt="" width="800" height="465" /></a>可以在右上角查看Google+的消息通知：</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-002.jpg"><img class="aligncenter size-full wp-image-232" title="googlepluswebhandson-002" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-002.jpg" alt="" width="800" height="465" /></a></p>
<p>这是查看所有通知：</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-003.jpg"><img class="aligncenter size-full wp-image-233" title="googlepluswebhandson-003" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-003.jpg" alt="" width="800" height="465" /></a></p>
<p>下面来介绍一下，Google+三个特征性功能：Circle, Hangouts, and Huddle，分别是社交群组，视频群聊以及群消息。</p>
<p><span style="color: #00ff00;">Circle</span>: 添加google+群组，类似于Facebook的好友群组，将一个圈子的人放在一起，方便以后的消息管理。譬如，想给自己的姐妹淘分享一个消息，但是不想让其他好友看到，可以通过发布到姐妹淘circle来实现。</p>
<p>这是Circle的一个界面：</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-019.jpg"><img class="aligncenter size-full wp-image-234" title="googlepluswebhandson-019" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-019.jpg" alt="" width="800" height="465" /></a></p>
<p>通过拖拽的方式，将好友拖进不同的圈子群：</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-020.jpg"><img class="aligncenter size-full wp-image-235" title="googlepluswebhandson-020" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-020.jpg" alt="" width="800" height="465" /></a><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-022.jpg"><img class="aligncenter size-full wp-image-236" title="googlepluswebhandson-022" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-022.jpg" alt="" width="800" height="465" /></a>下面来介绍一下Google+的另外一个功能——<span style="color: #00ff00;">Hangouts</span>谷歌视频群聊:</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-025.jpg"><img class="aligncenter size-full wp-image-237" title="googlepluswebhandson-025" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-025.jpg" alt="" width="800" height="606" /></a>主人公上线了：</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-026.jpg"><img class="aligncenter size-full wp-image-238" title="googlepluswebhandson-026" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-026.jpg" alt="" width="800" height="606" /></a>好友陆续加入：</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-028.jpg"><img class="aligncenter size-full wp-image-239" title="googlepluswebhandson-028" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-028.jpg" alt="" width="800" height="606" /></a><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-029.jpg"><img class="aligncenter size-full wp-image-240" title="googlepluswebhandson-029" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-029.jpg" alt="" width="800" height="606" /></a>这个功能基本实现了视频会议软件的基本功能，甚至能主动判断说话人，将屏幕自动切换到讲话人的画面。当然，你也可以自定义锁定其中某人的视频画面或者分享一段其他视频，例如youtube视频。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-030.jpg"><img class="aligncenter size-full wp-image-241" title="googlepluswebhandson-030" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-030.jpg" alt="" width="800" height="606" /></a><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-032.jpg"><img class="aligncenter size-full wp-image-242" title="googlepluswebhandson-032" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-032.jpg" alt="" width="800" height="606" /></a><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-033.jpg"><img class="aligncenter size-full wp-image-243" title="googlepluswebhandson-033" src="http://www.beingexperts.com/wp-content/uploads/2011/06/googlepluswebhandson-033.jpg" alt="" width="800" height="606" /></a></p>
<p>最后，是<span style="color: #00ff00;">Huddle</span>，即群消息（纯文本）</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/06/google+-huddle.png"><img class="aligncenter size-full wp-image-244" title="google+ huddle" src="http://www.beingexperts.com/wp-content/uploads/2011/06/google+-huddle.png" alt="" /></a></p>
<p>最后附上官方demo，感兴趣的可以先过把干瘾：http://www.google.com/+/demo/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/google-invite-received-we-go-hands-on.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>将Ubuntu 升级到最新的版本 Ubuntu 11.04</title>
		<link>http://www.beingexperts.com/archives/update-ubuntu-10-10-to-ubuntu-11-04.html</link>
		<comments>http://www.beingexperts.com/archives/update-ubuntu-10-10-to-ubuntu-11-04.html#comments</comments>
		<pubDate>Fri, 29 Apr 2011 01:23:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux升级]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.10]]></category>
		<category><![CDATA[ubuntu 11.04]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/?p=216</guid>
		<description><![CDATA[昨天，Ubuntu官方终于把11.04正式版ISO镜像制作完成，并同步到其他的镜象服务器上了，Ubuntu 11.04采用了原Ubuntu netbook上的界面（Unity），Unity 环境打破了传统的 GNOME 面板配置。它的左边包括一个... ]]></description>
			<content:encoded><![CDATA[<p>昨天，Ubuntu官方终于把11.04正式版ISO镜像制作完成，并同步到其他的镜象服务器上了，Ubuntu 11.04采用了原Ubuntu netbook上的界面（Unity），Unity 环境打破了传统的 GNOME 面板配置。它的左边包括一个类似 Dock 的启动器和任务管理面板；而顶面板则由应用程序 Indicator、窗口 Indicator、以及活动窗口的菜单栏组成。<br />
Unity 环境利用了来自 GNOME 3 中的一些关键组件，包括 Mutter 混合型窗口管理器和 Zeitgeist 活动记录引擎。其启动器使用 Clutter 建立，这与构建 GNOME Shell 所用的图形框架相同。虽然底层的技术相似，但 Unity 用户界面完全是不同的实现，它并没有使用来自 GNOME Shell 的任何代码。</p>
<p>下面就来说说升级过程吧，这次的升级是从Ubuntu 10.10往11.04上升的，原因在前一篇“<a href="http://www.beingexperts.com/archives/update-ubuntu-10-04-to-ubuntu-10-10.html">将Ubuntu 10.04升级到Ubuntu 10.10</a>”中已经说明了，不建议大家跨版本升级，跨版本升级可能会带来一不可预知的问题。</p>
<p>首先，第一步，在桌面状态下按下键盘上的“Alt + F2”键，这时会弹出运行命令的对话框，在对话框中输入命令“update-manager -d”（如下图所示），然后点击“运行”按钮，运行更新管理。</p>
<p><img src="http://www.beingexperts.com/wp-content/uploads/2011/04/1.jpg" alt="将Ubuntu 10.10升级到Ubuntu 11.04" width="336" height="188" /></p>
<p>第二步：在“更新管理器”中可以看到有新的Ubuntu发行版本11.04可更新，检查系统是否有程序需要更新，如果有的话，请先安装更新，然后再升级版本。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-1.jpg"><img class="aligncenter size-full wp-image-218" title="将Ubuntu 10.10升级到Ubuntu 11.04" src="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-1.jpg" alt="" width="603" height="551" /></a></p>
<p>第三步：点击“更新管理器”中的“升级”按钮，开始进行系统升级过程。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-2.jpg"><img class="aligncenter size-full wp-image-220" title="将Ubuntu 10.10升级到Ubuntu 11.04" src="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-2.jpg" alt="" width="601" height="530" /></a></p>
<p>第四步：在开始系统升级之前，会弹出“升级发行说明”，让大家了解该升级版本在哪些方面做了修改，如果我们已经从其他的地方了解到了这些信息，我们可以直接点击“升级”按钮，继续我们的升级过程；如果没有的话，也可以先看完这个说明。</p>
<p>在这一步过程中，如果你还没有获取root权限的话，系统会弹出一个对话框，请输入管理密码。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-3.jpg"><img class="aligncenter size-full wp-image-221" title="将Ubuntu 10.10升级到Ubuntu 11.04" src="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-3.jpg" alt="" width="415" height="239" /></a></p>
<p>接下来，系统会自动进行升级过程。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-4.jpg"><img class="aligncenter size-full wp-image-222" title="将Ubuntu 10.10升级到Ubuntu 11.04" src="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-4.jpg" alt="" width="378" height="324" /></a></p>
<p>第五步：如果在你的源列表中包含有第三方的源会弹出一个提示对话框，提示您它们将被禁用，然后才能升级。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-5.jpg"><img class="aligncenter size-full wp-image-223" title="将Ubuntu 10.10升级到Ubuntu 11.04" src="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-5.jpg" alt="" width="456" height="188" /></a></p>
<p>点击“关闭”按钮关闭这个提示，继续我们的升级步骤。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-6.jpg"><img class="aligncenter size-full wp-image-224" title="将Ubuntu 10.10升级到Ubuntu 11.04" src="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-6.jpg" alt="" width="502" height="553" /></a></p>
<p>第六步：点击“开始升级”按钮，继续升级余下的步骤。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-7.jpg"><img class="aligncenter size-full wp-image-225" title="将Ubuntu 10.10升级到Ubuntu 11.04" src="http://www.beingexperts.com/wp-content/uploads/2011/04/u11.04-7.jpg" alt="" width="376" height="325" /></a></p>
<p>第七步：等待Ubuntu升级程序下载升级所需要的文件和完成升级自动运行步骤。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/update-ubuntu-10-10-to-ubuntu-11-04.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz获取客户端IP地址源代码</title>
		<link>http://www.beingexperts.com/archives/discuz-get-client-ip-address.html</link>
		<comments>http://www.beingexperts.com/archives/discuz-get-client-ip-address.html#comments</comments>
		<pubDate>Fri, 22 Apr 2011 01:39:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP编程]]></category>
		<category><![CDATA[Discuz]]></category>
		<category><![CDATA[getenv]]></category>
		<category><![CDATA[客户端IP地址获取]]></category>
		<category><![CDATA[获取IP]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/archives/discuz-get-client-ip-address.html</guid>
		<description><![CDATA[我们在做系统的时候，一般都需要记录一些网站的日志信息，当然Apache服务器本身是有日志记录的，不过有时候我们也可以利用数据库来记录网站的访问日志，用数据库的目的就是方便系统管... ]]></description>
			<content:encoded><![CDATA[<p>我们在做系统的时候，一般都需要记录一些网站的日志信息，当然Apache服务器本身是有日志记录的，不过有时候我们也可以利用数据库来记录网站的访问日志，用数据库的目的就是方便系统管理员查询，而Apache的服务日志，对于一个一般的操作人员来说，在其中查找信息还是非常不方便的。</p>
<p>记录客户端的IP信息，我们也经常的需要用到，如果你是建一个销售的站点，你应该需要考虑你的客户是从哪里来的，你的客户是哪个地区（或是哪个国家）的，而这些信息都可以帮助你日后分析你的网站，当然现在的一些站点记录器（如CNZZ，StatCounter等）都带有这些功能。</p>
<p style="padding-left: 30px;">if(getenv(&#8216;HTTP_CLIENT_IP&#8217;) &amp;&amp; strcasecmp(getenv(&#8216;HTTP_CLIENT_IP&#8217;), &#8216;unknown&#8217;)) {<br />
&nbsp;&nbsp;&nbsp; $onlineip = getenv(&#8216;HTTP_CLIENT_IP&#8217;);<br />
} elseif(getenv(&#8216;HTTP_X_FORWARDED_FOR&#8217;) &amp;&amp; strcasecmp(getenv(&#8216;HTTP_X_FORWARDED_FOR&#8217;), &#8216;unknown&#8217;)) {<br />
&nbsp;&nbsp;&nbsp; $onlineip = getenv(&#8216;HTTP_X_FORWARDED_FOR&#8217;);<br />
} elseif(getenv(&#8216;REMOTE_ADDR&#8217;) &amp;&amp; strcasecmp(getenv(&#8216;REMOTE_ADDR&#8217;), &#8216;unknown&#8217;)) {<br />
&nbsp;&nbsp;&nbsp; $onlineip = getenv(&#8216;REMOTE_ADDR&#8217;);<br />
} elseif(isset($_SERVER['REMOTE_ADDR']) &amp;&amp; $_SERVER['REMOTE_ADDR'] &amp;&amp; strcasecmp($_SERVER['REMOTE_ADDR'], &#8216;unknown&#8217;)) {<br />
&nbsp;&nbsp;&nbsp; $onlineip = $_SERVER['REMOTE_ADDR'];<br />
}</p>
<p>preg_match(&#8220;/[\d\.]{7,15}/&#8221;, $onlineip, $onlineipmatches);<br />
$onlineip = $onlineipmatches[0] ? $onlineipmatches[0] : &#8216;unknown&#8217;;<br />
unset($onlineipmatches);</p>
<p>上面是从Discuz源码找到一段，用来获取客户端IP地址的源码。IP地址保存在变量$onlineip中。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/discuz-get-client-ip-address.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>将Ubuntu 10.04升级到Ubuntu 10.10</title>
		<link>http://www.beingexperts.com/archives/update-ubuntu-10-04-to-ubuntu-10-10.html</link>
		<comments>http://www.beingexperts.com/archives/update-ubuntu-10-04-to-ubuntu-10-10.html#comments</comments>
		<pubDate>Tue, 19 Apr 2011 03:39:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux升级]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[Ubuntu 10.10]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/archives/update-ubuntu-10-04-to-ubuntu-10-10.html</guid>
		<description><![CDATA[Ubuntu 10.10已经发布有一段时间了，相信还有不少人在为升级到新内核纠结吧。这里为大家提供一种方法将Ubuntu 10.04升级到Ubuntu 10.10。不建议大家跨版本升级，因为跨版本升级会带来一些不可预... ]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 10.10已经发布有一段时间了，相信还有不少人在为升级到新内核纠结吧。这里为大家提供一种方法将Ubuntu 10.04升级到Ubuntu 10.10。不建议大家跨版本升级，因为跨版本升级会带来一些不可预知的问题。</p>
<p>首先，第一步，在桌面状态下按下键盘上的“Alt + F2”键，这时会弹出运行命令的对话框，在对话框中输入命令“update-manager -d”（如下图所示），然后点击“运行”按钮，运行更新管理。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/1.jpg"><img class="aligncenter size-full wp-image-204" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/1.jpg" alt="" width="336" height="188" /></a></p>
<p>第二步：在“更新管理器”中可以看到有新的Ubuntu发行版本10.10可更新，这时，我们先点击“检查”按钮，检查系统是否有程序需要更新，如果有的话，请先安装更新，然后再升级版本。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/2.jpg"><img class="aligncenter size-full wp-image-205" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/2.jpg" alt="" width="605" height="554" /></a></p>
<p>第三步：待所有的更新都安装完成之后，点击“更新管理器”中的“升级”按钮，开始进行系统升级过程。</p>
<p>第四步：在开始系统升级之前，会弹出“升级发行说明”，让大家了解该升级版本在哪些方面做了修改，如果我们已经从其他的地方了解到了这些信息，我们可以直接点击“升级”按钮，继续我们的升级过程；如果没有的话，也可以先看完这个说明。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/3.jpg"><img class="aligncenter size-full wp-image-206" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/3.jpg" alt="" width="603" height="533" /></a></p>
<p>在点击“升级”之后，我们可以看到升级过程正在为系统升级做准备的提示信息。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/4.jpg"><img class="aligncenter size-full wp-image-207" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/4.jpg" alt="" width="377" height="318" /></a></p>
<p>第五步：如果在你的源列表中包含有第三方的源会弹出一个提示对话框，提示您它们将被禁用，然后才能升级。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/5.jpg"><img class="aligncenter size-full wp-image-208" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/5.jpg" alt="" width="461" height="188" /></a></p>
<p>点击“关闭”按钮关闭这个提示，继续我们的升级步骤。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/6.jpg"><img class="aligncenter size-full wp-image-209" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/6.jpg" alt="" width="502" height="551" /></a></p>
<p>第六步：点击“开始升级”按钮，继续升级余下的步骤。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/7.jpg"><img class="aligncenter size-full wp-image-210" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/7.jpg" alt="" width="377" height="318" /></a></p>
<p>第七步：等待Ubuntu升级程序下载升级所需要的文件和完成升级自动运行步骤。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/8.jpg"><img class="aligncenter size-full wp-image-211" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/8.jpg" alt="" width="503" height="551" /></a></p>
<p>第八步：当有提示我们如何处理已经安装的旧版本的软件包时，我们选择“删除”这些旧的软件包。</p>
<p>第九步：等它完成移除旧文件包后，全部升级工作就完成了。现在我们只需要点下“现在重启”按钮重启一下我们的系统，整个升级过程就全部完成了。</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/9.jpg"><img class="aligncenter size-full wp-image-212" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/9.jpg" alt="" width="253" height="166" /></a></p>
<p>等系统重新启动后，在终端中输入如下命令可以查看到现在系统的版本号。cat /etc/lsb-release</p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/10.jpg"><img class="aligncenter size-full wp-image-213" title="将Ubuntu 10.04升级到Ubuntu 10.10" src="http://www.beingexperts.com/wp-content/uploads/2011/04/10.jpg" alt="" width="459" height="239" /></a></p>
<p>好了，到此我们的系统就升级完成了。大家就享受各自的新系统吧……</p>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/update-ubuntu-10-04-to-ubuntu-10-10.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Godaddy Coupon code for 26% off</title>
		<link>http://www.beingexperts.com/archives/godaddy-coupon-code-for-26-pecent-off.html</link>
		<comments>http://www.beingexperts.com/archives/godaddy-coupon-code-for-26-pecent-off.html#comments</comments>
		<pubDate>Tue, 19 Apr 2011 00:32:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[省钱购]]></category>
		<category><![CDATA[Coupon Code]]></category>
		<category><![CDATA[Godaddy Coupon]]></category>
		<category><![CDATA[Godaddy Coupon Code]]></category>
		<category><![CDATA[Godaddy 优惠码]]></category>
		<category><![CDATA[Godaddy 折扣号]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/archives/godaddy-coupon-code-for-26-pecent-off.html</guid>
		<description><![CDATA[Godaddy 优惠码：gdz472b
到期时间：2011－4－24
优惠码一周内有效，无最低消费，适用于.com .net .org等域名；.com只需要$11.99+

... ]]></description>
			<content:encoded><![CDATA[<p>Godaddy 优惠码：<span><strong><span><a style="text-decoration: none;" href="http://www.godaddy.com/default.aspx?ci=44387&amp;isc=gdz472b"><span><strong><span style="color: #f06819;">gdz472b</span></strong></span></a></span></strong></span></p>
<p>到期时间：2011－4－24</p>
<p>优惠码一周内有效，无最低消费，适用于.com .net .org等域名；.com只需要$11.99+</p>
<p><iframe src="http://affiliate.godaddy.com/ad/F48396D3E2ACA7F4483CBE6332AEFB0C5F82C7ABD556FF4F6466983CE3106C42" width="728" height="90" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" hspace="0" allowtransparency="true"></iframe></p>
<p><a href="http://www.beingexperts.com/wp-content/uploads/2011/04/11_0417_03o.gif"><img class="aligncenter size-full wp-image-198" title="Godaddy Coupon code for 26% off" src="http://www.beingexperts.com/wp-content/uploads/2011/04/11_0417_03o.gif" alt="" width="750" height="330" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/godaddy-coupon-code-for-26-pecent-off.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下的几款文档处理软件</title>
		<link>http://www.beingexperts.com/archives/office-for-linux.html</link>
		<comments>http://www.beingexperts.com/archives/office-for-linux.html#comments</comments>
		<pubDate>Wed, 02 Mar 2011 07:32:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[OpenOffice]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/archives/office-for-linux.html</guid>
		<description><![CDATA[用来几天了的Linux系统，我安装的是LD(Linux Deepin)，界面比我以前用的Ubuntu要好一点儿（个人感觉），对于软件的管理也不错，像“Ailurus 小熊猫”，把一些软件都集合到一起，根据自己的需要选... ]]></description>
			<content:encoded><![CDATA[<p>用来几天了的Linux系统，我安装的是LD(Linux Deepin)，界面比我以前用的Ubuntu要好一点儿（个人感觉），对于软件的管理也不错，像“Ailurus 小熊猫”，把一些软件都集合到一起，根据自己的需要选择安装软件，并且软件必备的环境会自动安装上，这点有点儿类似到奇虎360。</p>
<p>系统自带的Office处理软件是“永中2009个人版”，这款软件我个人觉得界面就是仿的Office 2003，不过我喜欢它的xls右侧的sheet导航，那样看起来更直观，不过缺点就是不能跟现在的Office 2007或Office 2010的格式兼容，不能打开docx、xlsx、pptx等文件，而这些格式在windows下面已经很流行了，所以使用起来难免有点儿不太方便。</p>
<p>OpenOffice.org，这款软件好像是只要是早期出来的Linux系统，好像都会带上的，不过好像国内出来的Linux（像YlmfOs、LD）都不使用它了，具体也不知道什么原因了。个人觉得这款挺好的。</p>
<p>LibreOffice，这款只听说过，没有用过，所以不加评论。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/office-for-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>省钱购开年大放送-0元得戈尔本头层牛皮钱包</title>
		<link>http://www.beingexperts.com/archives/free-gearband-purse.html</link>
		<comments>http://www.beingexperts.com/archives/free-gearband-purse.html#comments</comments>
		<pubDate>Tue, 04 Jan 2011 07:07:11 +0000</pubDate>
		<dc:creator>bobo</dc:creator>
				<category><![CDATA[省钱购]]></category>
		<category><![CDATA[卖包包]]></category>

		<guid isPermaLink="false">http://www.beingexperts.com/?p=161</guid>
		<description><![CDATA[
省钱购开年大放送-0元得戈尔本头层牛皮钱包
 
头层牛皮钱包链接：http://www.mbaobao.com/pshow-1106007324.html
条件：

网易邮箱一个，163、126、yeah均可

成本：

钱包0元（原价79元），快递费15元，配... ]]></description>
			<content:encoded><![CDATA[<div class="pagetext formattext">
<p><strong>省钱购开年大放送-0元得戈尔本头层牛皮钱包</strong></p>
<p><strong> </strong></p>
<p>头层牛皮钱包链接：<a href="http://www.mbaobao.com/pshow-1106007324.html">http://www.mbaobao.com/pshow-1106007324.html</a></p>
<p><strong>条件：</strong></p>
<ul>
<li>网易邮箱一个，163、126、yeah均可</li>
</ul>
<p><strong>成本：</strong></p>
<ul>
<li>钱包0元（原价79元），快递费15元，配送范围全国（一般是申通快递）</li>
</ul>
<p><strong>活动有效时间：</strong></p>
<ul>
<li>2010/12/13-2011/1/27</li>
</ul>
<p><strong>省钱购步骤指导：</strong></p>
<ol>
<li>登陆网易邮箱，点击“邮箱积分”进入积分专区；</li>
<li>在“最新活动”栏，找到麦包包的“<strong>麦包包庆圣诞：159元大礼免费送！</strong>”活动链接，最明显的标志是一个红色的包包；</li>
<li>点击进入<a href="http://minisite.163.com/2010/1213/mbaobao/index.php">http://minisite.163.com/2010/1213/mbaobao/index.php</a></li>
<li>按照活动页面指示，先注册，然后登陆邮箱激活账户后登陆账户，钱包已经躺在你的购物车里了，只需支付15元运费，钱包送到家。</li>
</ol>
<p>Tips:</p>
<ol>
<li>下单支付完成之后，写封邮件给客服，催他们赶紧发货，可以缩短订单处理时间；</li>
<li>钱包我已经收到了，是牛皮的，至于是不是头层的，还有待考究，但是这年头，即使在地摊上买个pu的，15元恐怕也很难买到吧，何况做工、皮质等各方面还是中等货色的牛皮包，总之，姐姐我是觉着８错，收了。</li>
</ol>
<p>整体感觉，不错，总评分４星。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.beingexperts.com/archives/free-gearband-purse.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

