Get a couple of ini variables?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Inkyskin
Forum Contributor
Posts: 282
Joined: Mon Nov 19, 2007 10:15 am
Location: UK

Get a couple of ini variables?

Post 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...
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Get a couple of ini variables?

Post by requinix »

:banghead: Such an obviously-useful function! They should make a function to d--oh wait, seems they already did.
User avatar
Inkyskin
Forum Contributor
Posts: 282
Joined: Mon Nov 19, 2007 10:15 am
Location: UK

Re: Get a couple of ini variables?

Post 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.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Get a couple of ini variables?

Post 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 :)
Post Reply