PHP/HTML/PATH INFO
Версия от 10:37, 26 мая 2010; (обсуждение)
Listing Some Server Variables
<html>
<head>
<title>Listing Some $_Server Elements</title>
</head>
<body>
<?php
$envs = array( "HTTP_REFERER", "HTTP_USER_AGENT", "REMOTE_ADDR","REMOTE_HOST", "QUERY_STRING", "PATH_INFO" );
foreach ( $envs as $env )
print "$env: $_SERVER[$env]<br>";
?>
</body>
</html>