Welcome to the Linux community forum and interact with 2 million technical staff. Syntax: stringini_get (stringvarname) the returned value is 0 or less as reference content if it is Boolean :? Phpechodisplay_errors.ini_get (display_errors). n; echoregister_globals.ini _
Welcome to the Linux community forum and interact with 2 million technical staff> enter Syntax: string ini_get (string varname) the returned value is 0 or less if it is a Boolean value and the reference content is :? Php echo 'display _ errors = '. ini_get ('display _ errors'). "\ n"; echo 'register _ globals = '. ini _
Welcome to the Linux community forum and interact with 2 million technicians>
Syntax:
String ini_get (string varname)
The return value is 0 or 1 if it is boolean.
Reference content is as follows:
Echo 'display _ errors = '. ini_get ('display _ errors'). "\ n ";
Echo 'register _ globals = '. ini_get ('register _ globals'). "\ n ";
Echo 'Post _ max_size = '. ini_get ('Post _ max_size'). "\ n ";
Echo 'Post _ max_size + 1 = '. (ini_get ('Post _ max_size') + 1). "\ n ";
Echo 'Post _ max_size in bytes = '. return_bytes (ini_get ('Post _ max_size '));
?>
If you want to obtain the variable value in the entire php. ini file, use the ini_get enhancement function ini_get_all ()
The ini_get_all () function returns the entire php environment variable in the form of an array.
Easy to use
Reference content is as follows:
$ Ini = ini_get_all ();
Print_r ($ ini );
?>
Of course, it is more convenient to use phpinfo () for php configuration information.