September 2001
Intermediate to advanced
768 pages
32h 45m
English
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:
Read now
Unlock full access