我在 php.net 中搜索了一段时间,但没有找到我要搜索的内容。我需要一个函数来了解 PHP 函数的 max_upload_filesize。
这是我需要的:http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize
提前致谢!
使用ini_get()函数:
<?php $upload_max_size = ini_get('upload_max_filesize');
除了 upload_max_filesize 之外,还要注意 post_max_size。 以较小者为准
使用 PHP 的
ini_get