3.3.2 - Technical Information

Top  Previous  Next

 

Technical Overview

 

SpeedCheck Pro Java Applet reads the labels file by HTTP everytime it starts, the URL is defined in the Java Applet parameter called "labels_url". In our package, we use "SpeedCheck_labels.php/aspx" to generate dynamic labels depending on user's language selection.

 

If you look at the PHP or ASPX source code of SpeedCheck_labels.*, you will see the script actually takes a Query String parameter called "language":

 

http://servername/SpeedCheck_labels.php?language=english  (PHP)

http://servername/SpeedCheck_labels.aspx?language=english  (ASPX)

 

In our sample, you can set the query string  to be: "french", "german" or "custom". You can modify the source code to support your own language. Of course, basic PHP or ASPX skills are required.

 

 

Dynamic labels (SpeedCheck_labels.php/aspx) 

 

In Java Applet parameter (in SpeedCheck.php or SpeedCheck.aspx), you can see a parameter called "labels_url" this defines the URL of the custom labels file.

 

<param name="labels_url" value="http://servername/SpeedCheck_labels.php/aspx?language=xxxxxx">

 

xxxxxx = english, french, german or custom

 

Static labels (SpeedCheck_labels.txt)

 

If you don't want dynamic content generated, you can save output (see below) as PLAIN-TEXT file such as SpeedCheck_labels.txt

 

In Java Applet, define this:

 

<param name="labels_url" value="http://servername/SpeedCheck_labels.txt">

 

 

Output from script:

 

For example, if we access this from the web browser:

 

http://servername/SpeedCheck_labels.php?language=english   (PHP)

http://servername/SpeedCheck_labels.aspx?language=english   (ASPX)

 

You will see this (VIEW SOURCE from your Internet Explorer):

 

label_size=Size:

label_type=Type:

label_iteration=Iteration:

label_status=Status:

button_clear=Clear

button_report=Report

button_start=Start Test

button_stop=Stop

txt_download=Download

txt_upload=Upload

txt_both=Both

txt_ready=Ready

txt_downloading=Downloading

txt_uploading=Uploading

txt_initializing=Initializing, please wait...

txt_file_size_transferred=File size transferred

txt_total_time_taken=Total time taken    

txt_throughput=Throughput          

txt_download_interrupted=Download was interrupted by user

txt_upload_interrupted=Upload was interrupted by user

txt_server_processing_file=Server is processing file

stats_download_statistics=Download Statistics

stats_upload_statistics=Upload Statistics

stats_best_speed=Best Speed

stats_worst_speed=Worst Speed

stats_average_speed=Average speed

stats_average_time_taken=Average time taken

filesize_megabytes=MB

filesize_bytes=bytes

time_seconds=seconds

time_milliseconds=milliseconds

speed_kilobyte_per_second_short=KB/sec

speed_megabyte_per_second_short=MB/sec

speed_kilobit_per_second_short=Kbps

speed_megabit_per_second_short=Mbps

speed_kilobyte_per_second=Kilobyte-per-second

speed_megabyte_per_second=Megabyte-per-second

speed_kilobit_per_second=Kilobit-per-second

speed_megabit_per_second=Megabit-per-second