How is it done? I'm working on an uploads / directory browsing script for a website I'm working on, and I'm trying to add lines for reading file sizes (in kilobytes) and dates and times modified. Help would be appreciated.
It depends. [man]filesize/man might be useful.
On the other hand, I've used FTP functions to get the information as well.
Okay, I've got the size and date modified to output. The only problem I'm having now is that the size is reading values like 11.384506475256024. How do I get it to round?
By the way, another thing I want to do is force unclosed html tags to close (as in a forum post). How is this done?
Check out [man]round/man, [man]floor/man, [man]ceil/man and [man]intval/man