<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[PHP中Header使用的HTTP协议的状态码对照]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 21 Feb 2011 07:32:36 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	HTTP协议状态码,调用函数时候只需要将$num赋予一个下表中的已知值就直接会返回状态了。<br/><br/><div class="code">&lt;?PHP <br/>/** <br/>* HTTP Protocol defined status codes<br/>* HTTP协议状态码,调用函数时候只需要将$num赋予一个下表中的已知值就直接会返回状态了。<br/>* @param int $num<br/>*/ <br/>function https($num) &#123; <br/>$http = array ( <br/>100 =&gt; &quot;HTTP/1.1 100 Continue&quot;, <br/>101 =&gt; &quot;HTTP/1.1 101 Switching Protocols&quot;, <br/>200 =&gt; &quot;HTTP/1.1 200 OK&quot;, <br/>201 =&gt; &quot;HTTP/1.1 201 Created&quot;, <br/>202 =&gt; &quot;HTTP/1.1 202 Accepted&quot;, <br/>203 =&gt; &quot;HTTP/1.1 203 Non-Authoritative Information&quot;, <br/>204 =&gt; &quot;HTTP/1.1 204 No Content&quot;, <br/>205 =&gt; &quot;HTTP/1.1 205 Reset Content&quot;, <br/>206 =&gt; &quot;HTTP/1.1 206 Partial Content&quot;, <br/>300 =&gt; &quot;HTTP/1.1 300 Multiple Choices&quot;, <br/>301 =&gt; &quot;HTTP/1.1 301 Moved Permanently&quot;, <br/>302 =&gt; &quot;HTTP/1.1 302 Found&quot;, <br/>303 =&gt; &quot;HTTP/1.1 303 See Other&quot;, <br/>304 =&gt; &quot;HTTP/1.1 304 Not Modified&quot;, <br/>305 =&gt; &quot;HTTP/1.1 305 Use Proxy&quot;, <br/>307 =&gt; &quot;HTTP/1.1 307 Temporary Redirect&quot;, <br/>400 =&gt; &quot;HTTP/1.1 400 Bad Request&quot;, <br/>401 =&gt; &quot;HTTP/1.1 401 Unauthorized&quot;, <br/>402 =&gt; &quot;HTTP/1.1 402 Payment Required&quot;, <br/>403 =&gt; &quot;HTTP/1.1 403 Forbidden&quot;, <br/>404 =&gt; &quot;HTTP/1.1 404 Not Found&quot;, <br/>405 =&gt; &quot;HTTP/1.1 405 Method Not Allowed&quot;, <br/>406 =&gt; &quot;HTTP/1.1 406 Not Acceptable&quot;, <br/>407 =&gt; &quot;HTTP/1.1 407 Proxy Authentication Required&quot;, <br/>408 =&gt; &quot;HTTP/1.1 408 Request Time-out&quot;, <br/>409 =&gt; &quot;HTTP/1.1 409 Conflict&quot;, <br/>410 =&gt; &quot;HTTP/1.1 410 Gone&quot;, <br/>411 =&gt; &quot;HTTP/1.1 411 Length Required&quot;, <br/>412 =&gt; &quot;HTTP/1.1 412 Precondition Failed&quot;, <br/>413 =&gt; &quot;HTTP/1.1 413 Request Entity Too Large&quot;, <br/>414 =&gt; &quot;HTTP/1.1 414 Request-URI Too Large&quot;, <br/>415 =&gt; &quot;HTTP/1.1 415 Unsupported Media Type&quot;, <br/>416 =&gt; &quot;HTTP/1.1 416 Requested range not satisfiable&quot;, <br/>417 =&gt; &quot;HTTP/1.1 417 Expectation Failed&quot;, <br/>500 =&gt; &quot;HTTP/1.1 500 Internal Server Error&quot;, <br/>501 =&gt; &quot;HTTP/1.1 501 Not Implemented&quot;, <br/>502 =&gt; &quot;HTTP/1.1 502 Bad Gateway&quot;, <br/>503 =&gt; &quot;HTTP/1.1 503 Service Unavailable&quot;, <br/>504 =&gt; &quot;HTTP/1.1 504 Gateway Time-out&quot;&nbsp;&nbsp;<br/>); <br/>header($http&#91;$num&#93;); <br/>&#125; <br/>?&gt;</div><br/>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] PHP中Header使用的HTTP协议的状态码对照]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>