T.Todua
T.Todua

Reputation: 56429

difference between "upload_max_size" and "upload_max_filesize"

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?

Upvotes: 2

Views: 3780

Answers (2)

Funk Forty Niner
Funk Forty Niner

Reputation: 74217

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"

Upvotes: 3

Nawin
Nawin

Reputation: 1692

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

Upvotes: 3

Related Questions