Page 1 of 1

Get a couple of ini variables?

Posted: Thu Jun 11, 2009 3:14 pm
by Inkyskin
Is it possible to find out what the value is for 'upload_max_filesize' and 'post_max_size'?

I'm creating an application, and need to be able to tell people what their server's limits are without them having to look at the ini file etc...

Re: Get a couple of ini variables?

Posted: Thu Jun 11, 2009 3:48 pm
by requinix
:banghead: Such an obviously-useful function! They should make a function to d--oh wait, seems they already did.

Re: Get a couple of ini variables?

Posted: Thu Jun 11, 2009 5:22 pm
by Inkyskin
Thanks - by the way, you don't need to be so cocky. Just because you know of a function, doesn't mean we all do.

Re: Get a couple of ini variables?

Posted: Thu Jun 11, 2009 5:35 pm
by requinix
Inkyskin wrote:Thanks - by the way, you don't need to be so cocky. Just because you know of a function, doesn't mean we all do.
Wasn't trying to be cocky, just funny. Apologies :)