phptelemeter 1.27 review
Downloadphptelemeter script can read the webpages for the webbased 'quota' monitor for the Belgian ISP Telenet. These pages cont
|
|
phptelemeter script can read the webpages for the webbased 'quota' monitor for the Belgian ISP Telenet.
These pages contain both the actual status (which is refreshed nightly), and a 30-day shifting window history. This history is what makes up the used quota.
Usage
First off, to actually run this script you must tell it where the php binary is. Edit phptelemeter.php and modify the first line to #!/path/to/php4 -q. On Debian Sid, this is /usr/bin/php4.
To create the initial configuration file, just run the script.
It will notice the absence of ~/.phptelemeterrc, and create a dummy version. Next, configure this file (usually you'll just want to change username and password to the information for your account), and rerun phptelemeter - you'll get the output you want instantly.
Command line options
There are several options:
-d, --daily - show the 30day overview (overrides config)
-g, --graph - shows the usage graph (overrides config)
-r, --remaining - show the remaining quota (overrides config)
-D, --debug - shows some debugging stuff
-f, --file-output - dumps the output in files instead on the stdout (overrides config)
-n, --new-config - writes a new dummy config file to the current directory
-V, --version - shows the version and exits
Requirements:
PHP >= 4.3.0
PHP4 CURL extension, compiled with SSL support!
What's New in This Release:
Fixed dommel_web parser since they no longer count upload.
Fixed telemeter_web parser, they changed some small things.
phptelemeter 1.27 keywords