Basic Predefined Variables
$title = "Basic Predefined Variables";
include '../head1.inc'; ?>
PHP provides a large number of pre-defined variables which
send information into the script.
Greetings, web surfer! You have reached here from
<?php echo $_SERVER['REMOTE_ADDR']; ?>
<?php echo $_SERVER['HTTP_USER_AGENT']; ?>.
You came here from <?php echo $_SERVER['HTTP_REFERER'];?>, and
this page was delivered to you
by the <?php echo $_SERVER['REQUEST_METHOD']; ?> method of HTTP.
<?php $r = $_SERVER['HTTP_REFERER'];
echo "<a href=\"$r\"><i>Return</i></a>"; ?>