![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Jun 2005
Location: Queensland
Posts: 37
Rep Power: 0
![]() |
linking to secure pages (have pass)
i want to be able to see my current internet bandwidth usage without having to go thru heaps of webpages. can i do this just by writing a script in php?
|
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jun 2005
Location: |\|[][]B |_4|\|D
Posts: 41
Rep Power: 0
![]() |
completly no idea. but good luck
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Sep 2004
Posts: 207
Rep Power: 4
![]() |
Haha that post was entirely useless lol
Anyhow I don't think you can do it. PHP isn't suited to do that because it would need to moniter the bandwidth every second. A desktop langauge would be much more suitable for a project like this. However I'm sure there are programs out there that will moniter your bandwidth usage. Google it and see what you find.
__________________
_______________________________ BlazingWolf |
|
|
|
|
|
#4 |
|
Programmer
Join Date: Jun 2005
Location: Queensland
Posts: 37
Rep Power: 0
![]() |
yeah, i thought as much.
|
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
You say you want to "see" your current usage, not measure or monitor it. Them hosses be's two differ'nt colors. If your server is maintaining that information and makes it available to you with the appropriate permissions, you wouldn't have much trouble "seeing" it with PHP. If, on the other hand, you want to generate the figures, you need a leeeeeetle bit closer to the machine.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#6 |
|
Programmer
Join Date: Jun 2005
Location: Queensland
Posts: 37
Rep Power: 0
![]() |
yeah, i originally wanted to have php generate the stats from the site, but i did the second best thing to it. i did download a cuppla programs, but they were shit. i just made a form with hidden inputs whose values were my servicenumber and password and which redirected to the usage stats internet page. kinda gay, but its faster than going thru a million pages and i dont have to enter my password.
|
|
|
|
|
|
#7 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Morbidly insecure? Perhaps.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#8 |
|
Programmer
Join Date: Jun 2005
Location: Queensland
Posts: 37
Rep Power: 0
![]() |
yeah, it is kinda insecure. i decided to do it the long way by logging in legitimately from the site itself.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|