Forums

PHP

This topic is locked

Found script need explanation

Posted 30 Dec 2010 18:12:21
1
has voted
30 Dec 2010 18:12:21 Axell A. posted:
Thr php script is found here:

www.dmxzone.com/go?16444

What I don't understand is the MAX_SIZE*1024

Why 1024

And why does it keep saying 1mb limit if the limit is set to fx. 200bytes.

Replies

Replied 03 Jan 2011 12:11:56
03 Jan 2011 12:11:56 Patrick Woldberg replied:
In MAX_SIZE you give the number of KB, the value is compared to Bytes, so multiplied by 1024.

If you set the MAX_SIZE to 200, it is 200KB or 204800 Bytes.

Reply to this topic