PDA

View Full Version : [PHP?] How to make status bar?



- Dan
February 6th, 2007, 19:22
Hello FWS members,

I am curious about how to make a status bar.
Let say you have a hard disk space and it shows 10Gb / 100Gb.
Now I want to make a bar that will display this data.
so 1/10 of the bar will be in green/red colour and the 9/10 will be in white colour. Since only 10 gb has been used for a while and the 90 gb is free now.

Is there any link or tutes how to make this? Also what does this bar called? :)

Thanks

Secret
February 7th, 2007, 07:16
Runs df serverside, reports in a table and shows a graph.
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=1147&lngWId=8
Screenshot
http://www.pscode.com/Upload_PSC/ScreenShots/PIC20031015201248590.jpg

if this is helpful, please add to my reputation.

krakjoe
February 7th, 2007, 09:43
b more specific, are you talking about showing the server resources overall or the resources on one account, or some virtual resources of some sort, also, the bar will be called an "image" <-- massive sarchasm intended !!! and is not so hard to do with php and stuff .....

Tree
February 7th, 2007, 17:32
http://www.namepros.com/code/285609-php-progress-status-bar.html

If you know any PHP, this shouldn't be too hard to figure out.

- Dan
February 8th, 2007, 01:37
Thanks all :)
Sorry Krak joe... I did not describe it specifically.

Thanks secret that is actually what I need :)

But somehow in the end I bought a script :( But I will try to use it first just for my knowledge...