TI:ME 2B Internet Authoring Resource Pages

PHP

PHP is a server-side scripting language that is very common today on the Web. Files that end in .php have content that is generated dynamically from the server each time the page loads. PHP code integrates well with XHTML in a manner similar to JavaScript except that all JavaScript processing takes place on your computer (the client) rather than on the server.

The page you are reading contains a very simple PHP script:

<?php echo $_SERVER['HTTP_USER_AGENT']; ?>

This little script generates the content you see below. It will only work when the page is loaded on a server that supports PHP. This simple script displays the full name of the Web browser the visitor is using. It will not work when the page is loaded locally from your hard drive.


The full name of the Web browser you are using is displayed below.

CCBot/2.0 (https://commoncrawl.org/faq/)