Apache
The functions in this section are available only when PHP is compiled as a module for the Apache Web server.
object apache_lookup_uri(string uri)
The apache_lookup_uri function evaluates a URI, or Universal Resource Identifier, and returns an object containing properties describing the URI. This function is a wrapper for a function that's part of the Apache Web Server's API: sub_req_lookup_uri. Consequently, you must be running PHP as an Apache module in order to use this function. The exact meaning of most of the returned object's properties is beyond this text. They mirror the properties of Apache's request_rec structure. The sub_req_lookup_uri function is contained in Apache's http_request.c source file, and the comments there may satisfy ...
Get Core PHP Programming: Using PHP to Build Dynamic Web Sites 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.