# Dynamic Shared Object (DSO) Support
#
# to be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
<?php
$browser = getenv("HTTP_USER_AGENT");
?>
<P>You are using the <?php echo($browser);?> web browser.</P>
<?php $title = "Browser Details"; ?>
<title><?php echo $title; ?></title>
把它保留为 browser.phps,并另存为 browser.php 。在测试了这两个例子后,你会发明了局是分歧的。browser.php将显示你的阅读器版本,如:
You are using the Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) web browser.
而 browser.phps 则显示了你的源代码。