Date: 05/14/01
- Next message: Sterling Hughes: "Re: [PHP-DEV] Comparison style"
- Previous message: norny <email protected>: "[PHP-DEV] Bug #10825 Updated: mysql_field_name() won't return element 0"
- Next in thread: Sterling Hughes: "Re: [PHP-DEV] disktotalspace()"
- Reply: Sterling Hughes: "Re: [PHP-DEV] disktotalspace()"
- Reply: Zeev Suraski: "Re: [PHP-DEV] disktotalspace()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Does anyone object to my adding a new function disktotalspace()?
A friend of mine ran into a situation where he required an
OS-independent means of determining the amount of free space on a
filesystem (meaning executing and parsing 'df -k' wasn't going to
cut it).
PHP already has diskfreespace(), so I see no reason why it can't
also have disktotalspace().
His patch is attached. If no one objects, I'll commit this in a
day or two (along with documentation, which I have yet to write).
-- Jon Parise (jon <email protected>) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member
- text/plain attachment: disktotalspace.diff
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sterling Hughes: "Re: [PHP-DEV] Comparison style"
- Previous message: norny <email protected>: "[PHP-DEV] Bug #10825 Updated: mysql_field_name() won't return element 0"
- Next in thread: Sterling Hughes: "Re: [PHP-DEV] disktotalspace()"
- Reply: Sterling Hughes: "Re: [PHP-DEV] disktotalspace()"
- Reply: Zeev Suraski: "Re: [PHP-DEV] disktotalspace()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

