Apache特定函式庫

apache_lookup_uri

(PHP3 >= 3.0.4 , PHP4)

apache_lookup_uri ---  執行URI的部份請求並且傳回所有資訊

語法 : class apache_lookup_uri (string filename)

說明 : 

執行URI局部的請求,獲得所有關於資源的重要資訊,並且將這個資訊放入物件中傳回,所傳回的物件有著下列的屬性 :

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

注意 : 當PHP是安裝成Apache模組時,apache_looup_uri( )才會運作


上一頁 首頁 下一頁