<?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>PHP开发</title>
	<atom:link href="http://www.phpcoding.cn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpcoding.cn</link>
	<description>关注PHP,学习PHP,研究PHP,推广PHP,关注Web开发技术,关注LAMP</description>
	<lastBuildDate>Wed, 18 Aug 2010 16:57:25 +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>介绍国内一家不错的创意网站</title>
		<link>http://www.phpcoding.cn/2010/08/19/lepu/</link>
		<comments>http://www.phpcoding.cn/2010/08/19/lepu/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 16:57:25 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[默认分类]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/?p=1963</guid>
		<description><![CDATA[时值今年的中国情人节七夕节来临之际，国内知名B2C电子商务网站乐铺lepu.com最新推出了一个极具创意的送礼频道 &#8211; 礼来猜http://cai.lepu.com/。
乐铺www.lepu.com是一个创意产品的发掘和销售平台。主营各种商务用品、趣味玩具、创意杂货、创意家居等各种海内外创意品牌产品。公司成立于2005年，是国内最早的创意电子商务网站之一。目前公司总部设在有第二中关村之称的武汉光谷软件园。
最多留言日志2008年12月31号 -- 关于 (20)2009年06月3号 -- 采用PHP在终端上进行打印控制 (13)2009年06月1号 -- 采用php开发终端字符界面 (12)2010年08月12号 -- php_call_oracle_procedure (7)2009年05月19号 -- 《Google官方SEO入门指南》四：良好的网站导航设计 (6)]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/08/19/lepu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>php_call_oracle_procedure</title>
		<link>http://www.phpcoding.cn/2010/08/12/php_call_oracle_procedure/</link>
		<comments>http://www.phpcoding.cn/2010/08/12/php_call_oracle_procedure/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 16:40:44 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[PHP教程]]></category>
		<category><![CDATA[call]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[fgets]]></category>
		<category><![CDATA[oci]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[procedure]]></category>
		<category><![CDATA[store_procedure]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/?p=1956</guid>
		<description><![CDATA[在PHP中调用oracle中的存储过程，通常就是采用PHP的OCI扩展所提供的函数来进行调用。
关于PHP调用存储过程，基本上的搜索到的国内的网页，其步骤都差不多，也只是谈到了存储过程返回一般参数，即Varchar2、number这种类型，基本上没有讲到如何返回ref cursor类型。
笔者经过测试发现，其实调用返回ref cursor类型的存储过程，其方式也与一般的调用类似，唯一不同的地方就是在采用oci_bind_by_name将采用oci_ew_cursor的创建的cursor类型的变量绑定到输出游标后，在采用oci_execute执行预处理resource后，需要采用oci_execute执行刚才所绑定的那个游标，再采用oci_fetch_*等函数获取该游标的值。
各位TX可以参考以下的代码：
&#60;?php
$conn = oci_connect('SCOTT','TIGER') or die;

$sql = 'BEGIN blog.latest(:num_entries, :blog_entries); END;';

$stmt = oci_parse($conn, $sql);

// Bind the input num_entries argument to the $max_entries PHP variable
$max_entries = 5;
oci_bind_by_name($stmt,":num_entries",$max_entries,32);

// Create a new cursor resource
$blog_entries = oci_new_cursor($conn);

// Bind the cursor resource to the Oracle argument
oci_bind_by_name($stmt,":blog_entries",$blog_entries,-1,OCI_B_CURSOR);

// Execute the statement
oci_execute($stmt);

// Execute the cursor
oci_execute($blog_entries);

print "The $max_entries most recent blog entries\n";

// Use [...]]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/08/12/php_call_oracle_procedure/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>解决Tomcat7.0无法启动</title>
		<link>http://www.phpcoding.cn/2010/07/04/%e8%a7%a3%e5%86%b3tomcat7-0%e6%97%a0%e6%b3%95%e5%90%af%e5%8a%a8/</link>
		<comments>http://www.phpcoding.cn/2010/07/04/%e8%a7%a3%e5%86%b3tomcat7-0%e6%97%a0%e6%b3%95%e5%90%af%e5%8a%a8/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 08:37:00 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[tomcat]]></category>
		<category><![CDATA[exception]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[myeclipse]]></category>
		<category><![CDATA[start]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/2010/07/04/%e8%a7%a3%e5%86%b3tomcat7-0%e6%97%a0%e6%b3%95%e5%90%af%e5%8a%a8/</guid>
		<description><![CDATA[因为工作要用到Java和Eclipse了，没办法，只有先自行练习一下了。
把 Tomcat 7.0和MyEclipse Download下来一试，具体安装步骤，网上一大遍，这里就不细讲，需要的朋友可留言或直接在网上Google一下。
写了一个Demo，调用，总是显示一个错误，很是奇怪。其错误如下所示：
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
at org.apache.catalina.startup.Bootstrap.&#60;clinit&#62;(Bootstrap.java:55)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
&#8230; 1 more
Exception in thread &#8220;main&#8221;
奇了怪了，一切配置都是正常了， 所有JAVA_HOME、CLASSPATH之类的都正常，怎么会出现这个问题呢？
于是百度一下，结果发现别说“百度一下”，就是他妈的“百度一辈子”，也找不解决办法。算了，我还去Google一下吧。。。
终于在世界的某个角落被我发现了这种问题的解决办法，遇到相同问题的兄弟且听我慢慢道来。
具体的解决方案就是：
1. In Eclipse, Open the “Server” tab.
2. Double click on the “Tomcat6″ entry to see the configuration.
3. Then click on the “Open launch configuration” link in the “General information” block.
4. In the dialog, select [...]]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/07/04/%e8%a7%a3%e5%86%b3tomcat7-0%e6%97%a0%e6%b3%95%e5%90%af%e5%8a%a8/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ajax-cross-domain</title>
		<link>http://www.phpcoding.cn/2010/05/19/ajax-cross-domain/</link>
		<comments>http://www.phpcoding.cn/2010/05/19/ajax-cross-domain/#comments</comments>
		<pubDate>Wed, 19 May 2010 05:45:00 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP从入门到精通]]></category>
		<category><![CDATA[ajax]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/2010/05/19/ajax-cross-domain/</guid>
		<description><![CDATA[现在是Web 2.0时代，AJAX使用得非常多。但是使用纯粹的AJAX，经常会遇到跨域的问题。
其实归结起来，解决跨域问题，也不外乎几种方式：
1、代理方式
2、on-Demand方式
3、iframe方式
4、用户本地转储方式 (local)
5、其实还是在服务端A用iframe解决了与服务器B通信的问题
6、PHP + HTML(含JS)
其实这几种方式，原理基本上都是一样的，绕开AJAX对于跨域的限制。下面就对这几种处理方式大概谈一下。
1、web代理方式
即用户访问A网站时所产生的对B网站的跨域访问请求均提交到A网站的指定页面，由该页面代替用户页面完成交互，从而返回合适的结果。此方案可以解决现阶段所能够想到的多数跨域访问问题，但要求A网站提供Web代理的支持，因此A网站与B网站之间必须是紧密协作的，且每次交互过程，A网站的服务器负担增加，且无法代用户保存session状态。
2、on-Demand 方式
MYMSN的门户就用的这种方式，不过 MYMSN中不涉及跨域访问问题。在页面内动态生成新的&#60;script&#62;，将其src属性指向别的网站的网址，这个网址返回的内容必须是合法的Javascript脚本，常用的是JSON消息。此方案存在的缺陷是， script的src属性完成该调用时采取的方式时get方式，如果请求时传递的字符串过大时，可能会无法正常运行。不过此方案非常适合聚合类门户使用。 
&#60;html&#62;   &#60;head&#62;    &#60;script language=&#34;javascript&#34; type=&#34;text/javascript&#34;&#62;    function loadContent()    {    var s=document.createElement(&#8216;SCRIPT&#8217;);    s.src=&#8217;http://www.anotherdomain.com/TestCrossJS.aspx?f=setDivContent&#8217;;    document.body.appendChild(s);    } 
function setDivContent(v)   {    var dv = [...]]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/05/19/ajax-cross-domain/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>mysql sql 百万级数据库优化方案</title>
		<link>http://www.phpcoding.cn/2010/05/13/mysql-sql-%e7%99%be%e4%b8%87%e7%ba%a7%e6%95%b0%e6%8d%ae%e5%ba%93%e4%bc%98%e5%8c%96%e6%96%b9%e6%a1%88/</link>
		<comments>http://www.phpcoding.cn/2010/05/13/mysql-sql-%e7%99%be%e4%b8%87%e7%ba%a7%e6%95%b0%e6%8d%ae%e5%ba%93%e4%bc%98%e5%8c%96%e6%96%b9%e6%a1%88/#comments</comments>
		<pubDate>Wed, 12 May 2010 19:50:00 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[Mysql教程]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/2010/05/13/mysql-sql-%e7%99%be%e4%b8%87%e7%ba%a7%e6%95%b0%e6%8d%ae%e5%ba%93%e4%bc%98%e5%8c%96%e6%96%b9%e6%a1%88/</guid>
		<description><![CDATA[1.对查询进行优化，应尽量避免全表扫描，首先应考虑在 where 及 order by 涉及的列上建立索引。 
2.应尽量避免在 where 子句中对字段进行 null 值判断，否则将导致引擎放弃使用索引而进行全表扫描，如： 
select id from t where num is null 
可以在num上设置默认值0，确保表中num列没有null值，然后这样查询： 
select id from t where num=0 
3.应尽量避免在 where 子句中使用!=或&#60;&#62;操作符，否则将引擎放弃使用索引而进行全表扫描。 
4.应尽量避免在 where 子句中使用 or 来连接条件，否则将导致引擎放弃使用索引而进行全表扫描，如： 
select id from t where num=10 or num=20 
可以这样查询： 
select id from t where num=10 
union all 
select id from t [...]]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/05/13/mysql-sql-%e7%99%be%e4%b8%87%e7%ba%a7%e6%95%b0%e6%8d%ae%e5%ba%93%e4%bc%98%e5%8c%96%e6%96%b9%e6%a1%88/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySql优化指南</title>
		<link>http://www.phpcoding.cn/2010/05/12/mysql%e4%bc%98%e5%8c%96%e6%8c%87%e5%8d%97/</link>
		<comments>http://www.phpcoding.cn/2010/05/12/mysql%e4%bc%98%e5%8c%96%e6%8c%87%e5%8d%97/#comments</comments>
		<pubDate>Wed, 12 May 2010 15:13:00 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[Mysql教程]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/2010/05/12/mysql%e4%bc%98%e5%8c%96%e6%8c%87%e5%8d%97/</guid>
		<description><![CDATA[在LAMP阵营中，MySql占有很大比重，经常都会对数据库进行操作，但若不注意一些细节，很可能导致不必要的麻烦！
这里就将谈谈MySql的相关优化问题，主要是从提高MySql数据库服务器的性能的思路进行考虑，主要包含以下8个方面的优化：
1、选取最适用的字段属性；    2、使用连接(JOIN)来代替子查询(Sub-Queries)；     3、使用联合(UNION)来代替手动创建的临时表；     4、事务；     5、锁定表；     6、使用外键；     7、使用索引；     8、优化的查询语句；
下面就对这八个方面进行详细说明。
1、选取最适用的字段属性
MySQL可以很好的支持大数据量的存取，但是一般说来，数据库中的表越小，在它上面执行的查询也就会越快。因此，在创建表的时候，为了获得更好的性能，我们可以将表中字段的宽度设得尽可能小。例如，在定义邮政编码这个字段时，如果将其设置为CHAR(255),显然给数据库增加了不必要的空间，甚至使用VARCHAR这种类型也是多余的，因为CHAR(6)就可以很好的完成任务了。同样的，如果可以的话，我们应该使用MEDIUMINT而不是 BIGIN来定义整型字段。
另外一个提高效率的方法是在可能的情况下，应该尽量把字段设置为NOT NULL，这样在将来执行查询的时候，数据库不用去比较NULL值。
对于某些文本字段，例如“省份”或者“性别”，我们可以将它们定义为ENUM类型。因为在MySQL中，ENUM类型被当作数值型数据来处理，而数值型数据被处理起来的速度要比文本类型快得多。这样，我们又可以提高数据库的性能。
2、使用连接(JOIN)来代替子查询(Sub-Queries)
MySQL从4.1开始支持SQL的子查询。这个技术可以使用SELECT语句来创建一个单列的查询结果，然后把这个结果作为过滤条件用在另一个查询中。例如，我们要将客户基本信息表中没有任何订单的客户删除掉，就可以利用子查询先从销售信息表中将所有发出订单的客户ID取出来，然后将结果传递给主查询，如下所示： 
DELETE FROM customerinfo    WHERE CustomerID NOT in (SELECT CustomerID FROM salesinfo ) 
使用子查询可以一次性的完成很多逻辑上需要多个步骤才能完成的SQL操作，同时也可以避免事务或者表锁死，并且写起来也很容易。但是，有些情况下，子查询可以被更有效率的连接(JOIN).. 替代。例如，假设我们要将所有没有订单记录的用户取出来，可以用下面这个查询完成： 
SELECT [...]]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/05/12/mysql%e4%bc%98%e5%8c%96%e6%8c%87%e5%8d%97/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xmark不能同步</title>
		<link>http://www.phpcoding.cn/2010/05/09/xmark%e4%b8%8d%e8%83%bd%e5%90%8c%e6%ad%a5/</link>
		<comments>http://www.phpcoding.cn/2010/05/09/xmark%e4%b8%8d%e8%83%bd%e5%90%8c%e6%ad%a5/#comments</comments>
		<pubDate>Sun, 09 May 2010 01:03:00 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[操作系统]]></category>
		<category><![CDATA[电脑使用]]></category>
		<category><![CDATA[gfw]]></category>
		<category><![CDATA[xmark]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/2010/05/09/xmark%e4%b8%8d%e8%83%bd%e5%90%8c%e6%ad%a5/</guid>
		<description><![CDATA[一直以来都在用xmark 同步我家里电脑和公司电脑的书签。
早在xmark名为foxmark的时候我就开始用 了，最近xmark 无法同步，据说被和谐了。也曾用过一种方式：就是采用ftp://ftp.g.ho.st/xmarks/xmarks.json的方式进行处理，但近段时间也不行了，只好另找它法！
终于在网上找到一个方法，只需简单地修改本地host文件就可以正常使用xmark 同步书签了。 
xmark 无法同步解决方法如下： 
打开本机host文件(C:\Windows\System32\Drivers\etc\hosts)将下面静态ip解析添加到里面 
#xmarks   64.147.188.86 www.xmarks.com    64.147.188.92 api.xmarks.com    64.147.188.89 login.xmarks.com    64.147.188.87 sync.xmarks.com    64.147.188.86 static.xmarks.com    64.147.188.86 download.xmarks.com    64.147.188.86 my.xmarks.com
除了添加静态ip解析外还要注意修改xmark 的加密选项，否则xmark 还是无法同步的。首先点击打开 xmark 的设置选择高级加密在下拉菜单中选择全部加密，其实就是https的连接方式。通过这些设置就可以完美解决xmark 无法同步的问题了。
其实办法都是人想出来的，有qiang的办法，自然就有突的方式！若是没有qiang的话，不知道是不会应该更和谐？！
最多留言日志2008年12月31号 -- 关于 (20)2009年06月3号 -- 采用PHP在终端上进行打印控制 (13)2009年06月1号 -- [...]]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/05/09/xmark%e4%b8%8d%e8%83%bd%e5%90%8c%e6%ad%a5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>php数组排序</title>
		<link>http://www.phpcoding.cn/2010/05/05/array-sort-by-php/</link>
		<comments>http://www.phpcoding.cn/2010/05/05/array-sort-by-php/#comments</comments>
		<pubDate>Wed, 05 May 2010 07:51:00 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[PHP教程]]></category>
		<category><![CDATA[PHP分类]]></category>
		<category><![CDATA[php，编码规范]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/2010/05/06/php%e6%95%b0%e7%bb%84%e6%8e%92%e5%ba%8f/</guid>
		<description><![CDATA[近日，看到一关于PHP数组排序的问题，居然在瞬间没有想出如何实现！真的是有点丢分呢。。。
于是想起CSDN上曾有一篇文章说过只有20%的人能够实现二分查找，看来我在那20%之外了
于是想了一下，得出以下实现算法，供大家借鉴。
&#60;?php    class sortNum{     &#160;&#160;&#160;&#160;&#160;&#160;&#160; private $_sortArr;     &#160;&#160;&#160;&#160;&#160;&#160;&#160; private $_tmp = array();     &#160;&#160;&#160;&#160;&#160;&#160;&#160; function __construct($arr=array()){     &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(count($arr)!=0)     &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $this-&#62;_sortArr = $arr;     &#160;&#160;&#160;&#160;&#160;&#160;&#160; }     &#160;&#160;&#160;&#160;&#160;&#160;&#160; function [...]]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/05/05/array-sort-by-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>意外的惊喜</title>
		<link>http://www.phpcoding.cn/2010/04/30/%e6%84%8f%e5%a4%96%e7%9a%84%e6%83%8a%e5%96%9c/</link>
		<comments>http://www.phpcoding.cn/2010/04/30/%e6%84%8f%e5%a4%96%e7%9a%84%e6%83%8a%e5%96%9c/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 18:03:00 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[PHP从入门到精通]]></category>
		<category><![CDATA[PHP教程]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/2010/04/30/%e6%84%8f%e5%a4%96%e7%9a%84%e6%83%8a%e5%96%9c/</guid>
		<description><![CDATA[今天下午，在斑马线等待一位朋友时，突然看到一TX手里面拿着一本书，感觉好眼熟，于是问了一下该同学，兄弟，请问你拿的是什么书？那兄弟也挺配合的， 就直接把手里面的书给我看，我一看，难怪那么眼熟，原来这就是我写的那本书！
我看那书后好像贴着标签，有点像是借的，我就问那兄弟，你这本书是买的还是借的？该同学回答，这是借的。那你是从哪里借的呢？是从我们学校图书馆借的。你们学校是…?成都理工大学。哦，原来这样，好，没事，多谢兄弟！
正好我的朋友也从对面走了，我也该走了。
真是没有想到居然在这个时候看到有人拿着我的书，并且还是从学校图书馆借的，难得！真没有想到我的书居然进了成都理工大学的馆藏！
多谢你们！
今天是我的喜庆日子，还真没有想到我自己居然发现这样的喜庆！
相关文章2009年09月8号 -- 《PHP从入门到精通》样章-14章 (0)]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/04/30/%e6%84%8f%e5%a4%96%e7%9a%84%e6%83%8a%e5%96%9c/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Debian Linux add or del user</title>
		<link>http://www.phpcoding.cn/2010/04/02/debian-linux-add-or-del-user/</link>
		<comments>http://www.phpcoding.cn/2010/04/02/debian-linux-add-or-del-user/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 09:20:00 +0000</pubDate>
		<dc:creator>achao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[操作系统]]></category>
		<category><![CDATA[电脑使用]]></category>
		<category><![CDATA[adduser]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[debian教程]]></category>
		<category><![CDATA[passwd]]></category>
		<category><![CDATA[useradd]]></category>
		<category><![CDATA[userdel]]></category>

		<guid isPermaLink="false">http://www.phpcoding.cn/2010/04/02/debian-linux-add-or-del-user/</guid>
		<description><![CDATA[在Linux中，对于用户的管理是经常都需要的。当然也就包括用户的新增、删除，用户密码的修改。
1、新增用户 adduser
格式：adduser username
说明：这个命令会自动的创建用户、用户组、用户主目录；同时要求输入用户密码等。而useradd只会创建一个用户，其它什么都不会处理。需要注意的是，这个命令需要root用户组才具体执行权限。
实例：
Development:/home# adduser tx
Adding user `tx' ...
Adding new group `tx' (1008) ...
Adding new user `tx' (1008) with group `tx' ...
Creating home directory `/home/tx' ...
Copying files from `/etc/skel' ...
输入新的 UNIX 密码：
重新输入新的 UNIX 密码：
passwd：已成功更新密码
正在改变 tx 的用户信息
请输入新值，或直接敲回车键以使用默认值&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 全名 []:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 房间号码 []:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 工作电话 []:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 家庭电话 []:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 其它 []:
Is the information correct? [Y/n] y
Development:/home# 
&#160;
2、删除用户 userdel
格式：userdel –r username
说明：这个命令会直接把用户的所有资料全部删除，包括用户的相关信息、用户主目录等。
实例：
Development:/home# userdel [...]]]></description>
		<wfw:commentRss>http://www.phpcoding.cn/2010/04/02/debian-linux-add-or-del-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
