O'Reilly logo

PHP 5 CMS Framework Development by Martin Brampton

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

Discussion

A typical URI for the web starts off by defining the scheme, commonly http://. Then follows the domain name, which is essential for locating the computer that hosts the website. So a basic URI might be http://example.com.

This does not explicitly define any document, only a particular website. The web server, typically Apache, is usually configured so that it has defaults for the document that will be served when only a directory is specified. So when we submit nothing more than the domain name, the web server will implicitly add the name of a default document. For the kind of PHP systems that interest us, that will often be index.php.

We are free to go much further and specify a document by giving directories and file names. ...

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