O'Reilly logo

Core PHP Programming: Using PHP to Build Dynamic Web Sites by Leon Atkinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required