[PHP] Object size

2011-10-28 Thread QI.VOLMAR QI
Is there a function or method that calculate the object size in PHP?.
Or maybe that calculates a xml buffer of a file? I need to check a
size of a file, and if it's size is bigger than 500kb. I will need to
make another file to the subsequent content. Any help will serve.

Tks,
Volmar

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Object size

2011-10-28 Thread Tommy Pham
On Fri, Oct 28, 2011 at 9:43 AM, QI.VOLMAR QI qi.vol...@gmail.com wrote:

 Is there a function or method that calculate the object size in PHP?.
 Or maybe that calculates a xml buffer of a file? I need to check a
 size of a file, and if it's size is bigger than 500kb. I will need to
 make another file to the subsequent content. Any help will serve.

 Tks,
 Volmar



http://php.net/ref.filesystem
http://php.net/function.filesize