<html>
<head>
<title>Ganesha installation : Test configuration serveur</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
p, ol, ul, li, br, u, i, table, td, tr, th {font-family: Arial, Helvetica, sans-serif; font-size: 12px}
.headform {font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #FFFFFF; font-weight: bold}
body {font-family: Arial, Helvetica, sans-serif; font-size: 12px}


h1 {font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold}
h2 {font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold}
h3 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold}


div {font-family: Arial, Helvetica, sans-serif; font-size: 12px}


A { COLOR: #5A6BA5; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold;  TEXT-DECORATION: none }
A.hover	{COLOR: #5A6BA5; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold;  TEXT-DECORATION: underline; BACKGROUND:#FCFC99; }
-->
</style>
</head>


<body bgcolor="#FFFFFF" text="#000000">
<h1 align="center"><font color="#FF9900">...:::</font> <font color="#FF9900">GANESHA</font> 
  <font color="#333366">INSTALLATION</font> <font color="#333366">:::...</font></h1>
<table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#333366" align="center">
  <tr>
    <td>
      <table width="100%" border="0" cellspacing="1" cellpadding="4">
        <tr> 
          <td colspan="3" align="center" class="headform"> Informations configuration 
            SERVEUR (qui h&eacute;berge cette page)</td>
        </tr>
        <tr bgcolor="#E9EEFD"> 
          <td  align="center"> 
           <b>Variable</b>
          </td>
          <td align="center"> <b>Valeur / value</b></td>
          <td align="center"> 
            <b>Commentaires / Comments</b>
          </td>
        </tr>
        <tr bgcolor="#E5E5E5"> 
          <td colspan="3" align="center"> Fonctions / variables pour conna&icirc;tre 
            le chemin absolu <br>Functions / variables used to know your absolute path</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">Fonction realpath()</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo (function_exists('realpath')?realpath("./test.php"):"fonction non disponible"); ?>
            &nbsp; </td>
          <td bgcolor="#FFFFFF">Fonction PHP4 / PHP4 function</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">$PATH_TRANSLATED</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo $PATH_TRANSLATED ?>
            &nbsp; </td>
          <td bgcolor="#FFFFFF">&agrave; utiliser notamment pour Free.fr / to use in particular with Free.fr</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">$DOCUMENT_ROOT</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo $DOCUMENT_ROOT ?>
            &nbsp; </td>
          <td bgcolor="#FFFFFF">Chemin absolu OVH / OVH absolute path</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">$BASE_DIR</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo $BASE_DIR ?>
            &nbsp; </td>
          <td bgcolor="#FFFFFF">Chemin absolu Multimania / Multimania absolute path</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">$SCRIPT_FILENAME</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo $SCRIPT_FILENAME ?>
            &nbsp; </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">$REQUEST_URI</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo $REQUEST_URI ?>
            &nbsp; </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">$PHP_SELF</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo $PHP_SELF ?>
            &nbsp; </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">$PATH_INFO</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo $PATH_INFO ?>
            &nbsp; </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">&nbsp;</td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<p>&nbsp;</p>
<table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FF9900" align="center">
  <tr> 
    <td> 
      <table width="100%" border="0" cellspacing="1" cellpadding="4">
        <tr> 
          <td colspan="3" align="center" class="headform"> 
            Informations configuration CLIENT + serveur connexion internet
          </td>
        </tr>
        <tr bgcolor="#FFE7CE"> 
          <td align="center"> 
            <b>Variable</b>
          </td>
          <td align="center"> 
            <b>Valeur</b>
          </td>
          <td align="center"> 
            <b>Commentaires</b>
          </td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">Votre adresse IP<br>Your IP adress</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP $ipaddr = getenv("REMOTE_ADDR"); ?>
            <?PHP echo $ipaddr; ?>
          </td>
          <td bgcolor="#FFFFFF">Adresse temporaire ou permanente de connexion 
            &agrave; Internet / Temporay or permanent adress used to connect to 
            Internet</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">Nom de votre serveur<br>Name of your server</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP $what = gethostbyaddr($ipaddr);
		  if ($ipaddr != $what) {
			echo ("$what");
			} ?>
          </td>
          <td bgcolor="#FFFFFF">Machine qui vous connecte &agrave; Internet (souvent
             celle de votre fournisseur) / Computer that give you access to Internet
             (usally owned by your provider) </td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">M&eacute;thode d'acc&egrave;s &agrave; cette page<br>Method 
            use to access this page</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo getenv("REQUEST_METHOD"); ?>
          </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">Protocole du serveur<br> Protocol of the server</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo getenv("SERVER_PROTOCOL"); ?>
          </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">Version de votre navigateur<br>Version of your navigator</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo getenv("HTTP_USER_AGENT"); ?>
          </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">Langue de votre navigateur<br>Language of your navigator</td>
          <td bgcolor="#FFFFFF"> 
            <?PHP echo getenv("HTTP_ACCEPT_LANGUAGE"); ?>
          </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">R&eacute;solution de votre &eacute;cran<br>Screen resolution</td>
          <td bgcolor="#FFFFFF"> 
            <script language="JavaScript">document.write(screen.width + " x " + screen.height)</script>
          </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">Codage des couleurs<br>Color coding</td>
          <td bgcolor="#FFFFFF"> 
            <script language="JavaScript">document.write(screen.colorDepth + " bit")</script>
          </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
        <tr> 
          <td bgcolor="#FFFFFF">Compatible Java ?<br>
          Compatible with Java ?</td>
          <td bgcolor="#FFFFFF"> 
            <script language="JavaScript">
		  if(navigator.javaEnabled()){document.write("Oui")}
		  else{document.write("Non")}

		  </script>
          </td>
          <td bgcolor="#FFFFFF">&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<p>
  <?
 phpinfo();
?>
</p>
</body>
</html>
