<?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>PHPMan--Live and learn</title>
	<atom:link href="http://www.phpman.com.cn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phpman.com.cn</link>
	<description>不积跬步,无以至千里;不积小流,无以成江海</description>
	<lastBuildDate>Wed, 28 Jul 2010 02:39:54 +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>和web开发相关的几个rfc文档</title>
		<link>http://www.phpman.com.cn/archives/359</link>
		<comments>http://www.phpman.com.cn/archives/359#comments</comments>
		<pubDate>Wed, 28 Jul 2010 02:33:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程相关]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=359</guid>
		<description><![CDATA[RFC1867 Form-based File Upload in HTML
RFC1942 HTML Tables
RFC2616 Hypertext Transfer Protocol
RFC2617 HTTP Authentication: Basic and Digest Access Authentication
RFC4229 HTTP Header Field Registrations
]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/359/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh默认用户更改</title>
		<link>http://www.phpman.com.cn/archives/355</link>
		<comments>http://www.phpman.com.cn/archives/355#comments</comments>
		<pubDate>Mon, 12 Jul 2010 02:48:47 +0000</pubDate>
		<dc:creator>phpman</dc:creator>
				<category><![CDATA[system related]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=355</guid>
		<description><![CDATA[经常有这样的经历: 在使用ssh连接远程服务器时，如果ssh serverhost会以当前用户去连接，远程的默认登录帐号变成本地的当前用户，修改~/.ssh/config 文件，里面加上

user root

可以更改默认登录帐号为root，省去了必需指定用户登录方式(root@serverhost)的麻烦
]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/355/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>linux下lftp工具使用</title>
		<link>http://www.phpman.com.cn/archives/352</link>
		<comments>http://www.phpman.com.cn/archives/352#comments</comments>
		<pubDate>Tue, 29 Jun 2010 15:14:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system related]]></category>
		<category><![CDATA[lftp]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=352</guid>
		<description><![CDATA[有时候需要在linux下批量上传一些文件或整个目录到远程FTP，由于ftp本身不支持整个目录的上传，因此可以使用lftp
用法如下
lftp ftp://username:password@somehost
登录后进入lftp提示符下
常见系统命令ls rm mkdir等都可在这使用
上传目录可用
mirror -R [remote] [local]
批量下载可用mget
批量上传可用mput
具体用法及其它指令可用help查看
]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/352/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql中使用外键约束(constraint)或触发器(trigger)来进行级联更新、删除</title>
		<link>http://www.phpman.com.cn/archives/345</link>
		<comments>http://www.phpman.com.cn/archives/345#comments</comments>
		<pubDate>Wed, 09 Jun 2010 09:02:42 +0000</pubDate>
		<dc:creator>phpman</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=345</guid>
		<description><![CDATA[今天在帮同事解决一个关联更新问题时，阅读了下手册，整理下外键约束及trigger的知识，备用=)
我们通常有这样的需求:删除表Table 1,并删除其它表中与Table 1有关的若干记录。
举个例子:
现有2个实体- 学生、课程，1种联系- 成绩
分别创建 学生表 students, 课程表course,成绩表score

--创建 学生表 students
CREATE TABLE IF NOT EXISTS `students` &#40;
  `id` int&#40;11&#41; NOT NULL AUTO_INCREMENT,
  `name` varchar&#40;32&#41; DEFAULT '',
  PRIMARY KEY &#40;`id`&#41;
&#41; ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
&#160;
--插入若干记录
INSERT INTO `students` &#40;`id`, `name`&#41; VALUES
&#40;1, 'john'&#41;,
&#40;2, 'lucy'&#41;,
&#40;4, 'jack'&#41;;
&#160;
--创建课程表
CREATE TABLE IF NOT EXISTS `course` &#40;
  `id` int&#40;11&#41; NOT NULL [...]]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/345/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql table status 如:取最近更新时间</title>
		<link>http://www.phpman.com.cn/archives/343</link>
		<comments>http://www.phpman.com.cn/archives/343#comments</comments>
		<pubDate>Thu, 08 Apr 2010 11:32:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=343</guid>
		<description><![CDATA[$conn = mysql_connect();
$sql = &#8220;SHOW TABLE STATUS FROM `DATABASE` WHERE `Name` = &#8216;TABLE&#8221;;
$rs = mysql_query($sql,$conn);
while($row = mysql_fetch_object($rs)) $updatetime = $row->Update_time;
print_r($updatetime); 
]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/343/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>查看apache安装了哪些模块</title>
		<link>http://www.phpman.com.cn/archives/341</link>
		<comments>http://www.phpman.com.cn/archives/341#comments</comments>
		<pubDate>Wed, 24 Mar 2010 12:34:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=341</guid>
		<description><![CDATA[apache支持-t -D参数查看所安装的模块
apachectl -t -D DUMP_MODULES
如
 core_module (static)
 authn_file_module (static)
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_default_module (static)
 auth_basic_module (static)
 include_module (static)
 filter_module (static)
 log_config_module (static)
 env_module (static)
 expires_module (static)
 setenvif_module (static)
 proxy_module (static)
……
]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/341/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>恶搞版《楼市春晚》视频</title>
		<link>http://www.phpman.com.cn/archives/339</link>
		<comments>http://www.phpman.com.cn/archives/339#comments</comments>
		<pubDate>Wed, 03 Mar 2010 01:24:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=339</guid>
		<description><![CDATA[<object width="420" height="363"><param name="movie" value="http://www.tudou.com/v/78UNX-eQI3c"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="opaque"></param><embed src="http://www.tudou.com/v/78UNX-eQI3c" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="opaque" width="420" height="363"></embed></object>

]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/339/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>linux下批量正则查找替换文本文件内容</title>
		<link>http://www.phpman.com.cn/archives/337</link>
		<comments>http://www.phpman.com.cn/archives/337#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:35:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[system related]]></category>
		<category><![CDATA[正则语法]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[正则]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=337</guid>
		<description><![CDATA[
find -name '*.html' &#124; xargs perl -pi -e 's&#124;href=&#34;(.*\.html)&#34;&#124;href=&#34;/html/$1&#34;&#124;g'

如上所示为我在所有形如xxx.html前加上/html/
正则查找，非常灵活方便。留帖备忘
]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/337/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>支持ie6 ie7 ie8 firefox的javascript添加至收藏夹代码</title>
		<link>http://www.phpman.com.cn/archives/335</link>
		<comments>http://www.phpman.com.cn/archives/335#comments</comments>
		<pubDate>Tue, 02 Mar 2010 10:31:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=335</guid>
		<description><![CDATA[
function addfavor&#40;url,title&#41; &#123;
    if&#40;confirm&#40;'确定添加收藏？'&#41;&#41;&#123;
        var ua = navigator.userAgent.toLowerCase&#40;&#41;;
        if&#40;ua.indexOf&#40;&#34;msie 8&#34;&#41;&#62;-1&#41;&#123;
            external.AddToFavoritesBar&#40;url,title,'slice'&#41;;//IE8
        &#125;else&#123;
         [...]]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/335/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>window7系统玩星际争霸不能全屏的问题</title>
		<link>http://www.phpman.com.cn/archives/333</link>
		<comments>http://www.phpman.com.cn/archives/333#comments</comments>
		<pubDate>Thu, 04 Feb 2010 15:35:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://www.phpman.com.cn/?p=333</guid>
		<description><![CDATA[Win键+R键，打开运行窗口，输入regedit 回车，这样就打开了注册表编辑器，然后，定位到以下位置：
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\GraphicsDrivers\Configuration\
在Configuration这上面右键，选择查找，输入Scaling，在右框找到scaling，右键scaling修改
将数值改为3即可（原值是4），这种方法基本通杀所有Windows7下游戏的全屏问题。
另外，WINDOWS7玩星际菜单栏还有花屏现象（游戏中为正常）。可下载花屏补丁。
]]></description>
		<wfw:commentRss>http://www.phpman.com.cn/archives/333/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
