I'm trying to write a script that tells the user about his/her connection but i come up with this error Parse error: parse error in /mg2root/web/www.houseofmaveric.com/html/whitedwarf/browser.php on line 36
here's me code
<html>
<body>
<body bgcolor ="#000000">
<body text = "#0033FF">
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$php = $_SERVER['PHP_SELF'];
$argv = $_SERVER['argv'];
$argc = $_SERVER['argc'];
$GI = $_SERVER['GATEWAY INTERfACE'];
$SI = $_SERVER['SERVER_NAME'];
$SS = $_SERVER['SERVER_SOFTWARE'];
$SP = $_SERVER['SERVER_PROTOCOL'];
$RM = $_SERVER['REQUEST_METHOD'];
$QS = $_SERVER['QUERY_STRING'];
$DR = $_SERVER['DOCUMENT_ROOT'];
$HA = $_SERVER['HTTP_ACCEPT'];
$HAC = $_SERVER['HTTP_ACCEPT_CHARSET'];
$HAE = $_SERVER['HTTP_ACCEPT_ENCODING'];
$HAL = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
$HTPCON = $_SERVER['HTTP_CONNECTION'];
$HTTP_HOST = $_SERVER['HTTP_HOST'];
$HRR = $_SERVER['HTTP_REFERER'];
$Hp_user = $_SERVER['HTTP_USER_AGENT'];
$Rem_host = $_SERVER['REMOTE_HOST'];
$REM_port = $_SERVER['REMOTE_PORT'];
$sfile = $_SERVER['SCRIPT_FILENAME'];
$Ser_port = $_SERVER['SERVER_PORT'];
$Serv_siggy = $_SERVER['SERVER_SIGNATURE'];
$pathy_transy = $_SERVER['PATH_TRANSLATED'];
$Script_name = $_SERVER['SCRIPT_NAME'];
$REq_url = $_SERVER['REQUEST_URL'];
$php_auth = $_SERVER['PHP_AUTH_USER'];
$php_auth_pw = $_SERVER['PHP_AUTH_PW'];
$auth_type = $_SERVER['AUTH_TYPE'];
print "Your Internet Protocol Address is: $ip";<br>
print "Filename script executing: $php "; <br>
print "Array of arguments passed to the script: $argv"; <br>
print "Number of command line parameters passed to script: $argc"; <br>
print "CGI specification this server is using: $GI"; <br>
print "Name of Server host script is executing on: $SI"; <br>
print "Server identification string: $SS"; <br>
print "Name and revision of information protocol via page requested: $SP"; <br>
print "Request Method of this page: $RM"; <br>
print "Query string: $QS"; <br>
print "Document Root Directory: $DR"; <br>
print "Contents of Accept header: $HA"; <br>
print "contents of the Accept-charset: $HAC"; <br>
print "Contents of the Accept-Encodign: $HAE"; <br>
print "Contents of the Accept-Languages: $HAL"; <br>
print "Contents of the connection: $HTPCON"; <br>
print "Contents of the Host: $HTTP_HOST"; <br>
print "HTTP REFERER: $HRR";<br>
print "Contents of the User Agent: $Hp_user";<br>
print "Host name: $Rem_host";<br>
print "Remote Port of browser: $REM_port ";<br>
print "script filename: $sfile ";<br>
print "Server port being used: $Ser_port"; <br>
print "Server signature: $Serv_siggy ";<br>
print "Path translated: $pathy_transy ";<br>
print "Script name: $Script_name";<br>
print "Requested URL: $REq_url ";<br>
print "HTTP authentification username variable: $php_auth";<br>
print "HTTP authentification password variable: $php_auth_pw";<br>
print "Authentification type: $auth_type";<br>
print "<h1> This script was written by WhiteDwarf....</h1>"
?>
</body>
</html>