A script to test phpinfo() : Php Environment « Development « PHP






A script to test phpinfo()


<?php
setcookie( "id", "999", time ()+3600, "/" );
 ?>
<html>
<head>
<title>A script to test phpinfo()</title>
</head>
<body>
<form action="<?php print "$PHP_SELF" ?>" METHOD="get">
<input type="text" name="user">
<br>
<select name="products[]" multiple>
   <option>A
   <option>B
   <option>C
   <option>D
</select>
<br>
<input type="submit" value="test!">
</form>
<p></p>
<?php
   phpinfo();
?>
</body>
</html>
           
       








Related examples in the same category

1.PHP_VERSION: The version of PHP in use
2.PHP_OS: The operating system using PHP
3.Get Php environment information