Obtain the configuration option value of the php tutorial.
Syntax: string get_cfg_var (string varname );
Return Value: String
Function types: php system functions
Description
If the current php configuration option varname is obtained correctly, the variable value is returned. Otherwise, false is returned.
*/
Echo "php sets the maximum execution time to: n ";
Print_r (get_cfg_var ("max_execution_time"); // obtain the configuration item Value
Echo "<br> n ";
Echo "the total memory available for each script set by php is: n ";
Print_r (get_1__var ("memory_limit"); // obtain the configuration item Value
Echo "<br> n ";
Echo "php sets the maximum size of post accepted: n ";
Print_r (get_cfg_var ("post_max_size"); // obtain the configuration item Value
Echo "<br> n ";
Echo "php sets smtp server name: n ";
Print_r (get_cmd_var ("smtp"); // obtain the configuration item Value
Echo "<br> n ";
Echo "php sets the maximum size of the uploaded file to be: n ";
Print_r (get_cfg_var ("upload_max_filesize"); // obtain the configuration item Value
Echo "<br> n ";