<html>
<body>
<p> if only this line appears then php is not working </p>

<p>
If only this line appears then php is not working. Filename = test.php
</p>
<p>
 <? echo "Current PHP version: ".phpversion(); ?>
<BR>
<?php
  //phpinfo();
$sapi_type = php_sapi_name();
if ($sapi_type == "cgi")
  print "You are using CGI PHP\n";
else
  print "You are not using CGI PHP\n";
?>

<?php
//putenv("TNS_ADMIN=/tmp/oracle/network/admin");
 $db= "(DESCRIPTION =
    	(SDU=32768)
   	(TDU=32768)
    	(ADDRESS_LIST =
      		(ADDRESS = (PROTOCOL = TCP)(Host = jolteon)(Port = 1521))
    	)
    	(CONNECT_DATA =(SID = ora816) )
      )";
 $connection = OCILogon("system","manager",$db);
 $stmt = OCIParse($connection, "select * from ALL_USERS");
 OCIExecute($stmt);
 while(OCIFetch($stmt))
	echo OCIResult($stmt,"USERNAME")."<BR>\n";
 echo "\n";
?>
</body>
</html>











