PHP/Utility Function/ini get all
Get individual information about the current PHP settings
string ini_get (string varname)
<?php
echo ini_get ("post_max_size") . "<br />";
$myarray = ini_get_all();
print_r($myarray);
?>
Get information about PHP settings by ini_get() function: string ini_get ( string varname )
<?php
echo ini_get ("post_max_size") . "<br />";
$myarray = ini_get_all();
print_r($myarray);
?>
Output system information
<?php
phpinfo();
phpcredits();
echo phpversion() . "<br />";
echo ini_get ("post_max_size") . "<br />";
$myarray = ini_get_all();
print_r($myarray);
echo "<br />";
echo date ("F d Y H:i:s.", getlastmod()) . "<br />";
$curip = $_SERVER["REMOTE_ADDR"];
$myarray = array ();
if (!in_array ($curip, $myarray)){
echo "We insert the IP addy: " . $curip . " into the database";
} else {
echo "The IP addy:" . $curip . " is already in the database.";
}
?>