how to check the disk space taken by the database ?

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
orangeapple
Forum Commoner
Posts: 70
Joined: Tue Jan 06, 2004 1:24 pm
Location: Geneva / Switzerland

how to check the disk space taken by the database ?

Post by orangeapple »

Hi there,

I would like to display on a php page the disk space taken by a mysql database on the server.
Is that possible ? How ?

Thanks a lot for your help
User avatar
$var
Forum Contributor
Posts: 317
Joined: Thu Aug 18, 2005 8:30 pm
Location: Toronto

Post by $var »

http://www.webmasterworld.com/forum88/2069.htm
Yay google.

Why don't you post that in the snippets section for people in the future?
User avatar
orangeapple
Forum Commoner
Posts: 70
Joined: Tue Jan 06, 2004 1:24 pm
Location: Geneva / Switzerland

Post by orangeapple »

works well !
thanks a lot $var !
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

Re your link:
status: Either we require login from users from your ISP because of abuse, or the thread is marked members only. Please login and then back up to view.
I don't think I abused it, since I've never been there before.
User avatar
$var
Forum Contributor
Posts: 317
Joined: Thu Aug 18, 2005 8:30 pm
Location: Toronto

Post by $var »

viewtopic.php?p=206875#206875

here, i posted it in the snippets.
Post Reply