<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[沧海一粟]]></title> 
<link>http://www.dzhope.com/index.php</link> 
<description><![CDATA[Web系统架构与服务器运维,php开发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[沧海一粟]]></copyright>
<item>
<link>http://www.dzhope.com/post//</link>
<title><![CDATA[用php中实现通过www访问重启服务器的功能]]></title> 
<author>jed &lt;jed521@163.com&gt;</author>
<category><![CDATA[服务器技术]]></category>
<pubDate>Thu, 09 Nov 2006 00:46:38 +0000</pubDate> 
<guid>http://www.dzhope.com/post//</guid> 
<description>
<![CDATA[ 
	system("reboot");或system("shutdown &nbsp; -r"); &nbsp; <br/> &nbsp;但要有权限，php以root身份运行，apache里可以设 ，一般PHP的权限都是nobody或是别的,但不会拥有 &nbsp; ROOT &nbsp; 权限. &nbsp; &nbsp;想要有root权限就去找个super来装,在super中配置reboot的别名 &nbsp; <br/> &nbsp;然后执行system("reboot");才可实现 <br/><br/><br/><br/>提升权限可参照：<a href="http://jed.dzhope.com/read.php/184.htm" target="_blank">http://jed.dzhope.com/read.php/184.htm</a>
]]>
</description>
</item><item>
<link>http://www.dzhope.com/post//#blogcomment</link>
<title><![CDATA[[评论] 用php中实现通过www访问重启服务器的功能]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.dzhope.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>