apache_lookup_uri

class apache_lookup_uri(string URI) 

Opens an Apache subrequest to look up status information for a URI (Uniform Resource Identifier).

Returns:

Class containing a list of status information for a URI

Description:

If you have installed PHP as an Apache module, you can use this function to get information about a URI. Just as with virtual() or an SSI-include, the function opens an Apache subrequest; therefore, you can specify only a local document URI as the parameter.

The following properties will be set in the returned class:

allowed content_type
args filename
boundary handler
byterange method
bytes_sent mtime
clength no_cache
no_local_copy status_line
path_info the_request
request_time unparsed_uri
status uri

Version:

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.