PHP Info (Chapter 6)

Main Lab 5 Page


PHP includes several environment variables contain basic system and user information. The simplest way to display every environment variable is through the phpinfo() function. As displayed below.

This function is intended to be placed by itself in a standalone php document. If included as part of another page, it'll conflict with the design of the rest of the page, due to the inclusion of embedded css. As such, the page is segregated into another file, and embedded with an <object> tag.