apache_lookup_uri

(PHP 3>= 3.0.4, PHP 4 )

apache_lookup_uri --  為指定的URI執行部分請求並且傳回訊息有關URI的

描述

object apache_lookup_uri ( string filename)

這是URI傳回的部分請求. 這裡能獲得足夠的重要的訊息關於資源的類別並且傳回訊息。傳回的屬性class是:

狀態(status)
請求(the_request)
狀態行(status_line)
方式(method)
字元型別(content_type)
handler
uri
文件名(filename)
路徑訊息(path_info)
args
boundary
no_cache
no_local_copy
allowed
send_bodyct
bytes_sent
byterange
clength
unparsed_uri
mtime
request_time

註: apache_lookup_uri() 只工作在PHP的apache的模塊下