Function types: php system function content description
If the correct php configuration options varname, it returns the value of the variable. If it fails, it returns false.
* / Echo "php set the maximum execution time: n"; print_r (get_cfg_var ("max_execution_time")); // get the value of the configuration item echo "<br> n"; Echo "php set the total amount of memory available for each script: n"; print_r (get_cfg_var ("memory_limit")); // Get the value of the configuration item echo "<br> n"; echo "php set to accept the maximum size of post: n"; print_r (get_cfg_var ("post_max_size")); // get the value of the configuration item echo "<br> n"; Echo "php set smtp server name: n"; print_r (get_cfg_var ("smtp")); // Get the value of the configuration item echo "<br> n"; echo "php set the maximum size of the uploaded file: n"; print_r (get_cfg_var ("upload_max_filesize")); // get the value of the configuration item echo "<br> n";
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.