问题
I've found some people say about ini_set("upload_max_size")
,
But does upload_max_size
exist at all, and is it something new? As I know upload_max_filesize
is the correct syntax. Am I wrong?
回答1:
Yes ini_set("upload_max_size")
function exist in wordpress. for example:
@ini_set( 'upload_max_size' , '64M' );
using in functions.php
file link is HERE
In php.ini
-> upload_max_filesize
is using.
Finally htaccess
syntax is php_value upload_max_filesize
回答2:
I'm posting this as a community wiki since it was raised in comments.
As per my comments:
"If you didn't find it on Google or the php.net website, then it doesn't exist. "but does upload_max_size exist at all? Is it something new?" - No".
and a link for a search on the php.net website:
"http://php.net/manual-lookup.php?pattern=upload_max_size&scope=quickref"
来源:https://stackoverflow.com/questions/45712556/difference-between-upload-max-size-and-upload-max-filesize