|
3.1.4 - Enable Statistics |
Top Previous Next |
|
Prerequisites
It is necessary to have database created and running sucessfully before reading this section.
Installation
Permission by default is disabled. To enable it, open up /config/include.php and change the following:
$enable_statistics = false;
change to:
$enable_statistics = true;
Technical Details
Statistics takes the following parameters in URL as query string (HTTP GET):
SpeedCheck_statistics.php?transfer_type=[type]&transfer_size=[size]&time_taken=[time]&session_id=[session_id]
[transfer_type]: Integer, 0: download, 1:upload [transfer_size]: Integer, size in bytes [time_taken]: Integer, time taken in milliseconds [session_id]: String, the session ID (gerneated in PHP script as Applet parameter)
URL example: SpeedCheck_statistics.php?transfer_type=1&transfer_size=10&time_taken=15&session_id=sc_1234567890_123 |