firewall Spyware removal internet speed test web security service free software and tips


Go Back   Web Security > Our Free Tools > Free Broadband Speed Test
FAQ Members List Search Today's Posts Mark Forums Read

Free Broadband Speed Test Questions regarding our Free Speed Tests including the broadband test available for download.

Advertisements

Logging

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 11-15-2007,
Junior Member
 
Join Date: Nov 2007
Posts: 3
Default

I downloaded the latest version today and installed it, got everything working except the log file also shows "--- ---" for the speeds.

I am running the PHP version. I am also waiting for activation. Does that make a difference?
Reply With Quote
  #22 (permalink)  
Old 11-17-2007,
AMPC's Avatar
Administrator
 
Join Date: Jan 2007
Posts: 1,415
Default Logging.php speedtest results

If it was an activation issue, it would never get that far, so no worry there.

The logging error in PHP is because there is text that has to appear in your logging.php file and if not there, it won't register.

What is the content of your logging.php file?

Regards,

Jim.
Reply With Quote
  #23 (permalink)  
Old 11-19-2007,
Junior Member
 
Join Date: Nov 2007
Posts: 3
Default

Here's my logger.php file. I only changed the HTTP_POST_VARS to $_POST in attempt to fix the issue. It doesn't work either way.

Code:
<?

if (isset($_POST['testspeeds'])) { 
$testspeeds =  $_POST['testspeeds'];
} else {
$testspeeds ="---\t---";
}

$date = date("Y-m-d"); // Current date
$time = date("H:i:s"); // Current time

if (isset($_SERVER['REMOTE_ADDR'])) { 
$ip_address = $_SERVER['REMOTE_ADDR'];
} else {
$ip_address =  getenv('REMOTE_ADDR');
}
if (isset($_SERVER['HTTP_USER_AGENT'])) { 
$browser = $_SERVER['HTTP_USER_AGENT'];
} else {
$browser = "";
}
if (isset($_SERVER['PHP_SELF'])) { 
$page = $_SERVER['PHP_SELF'];
} else {
$page = "";
}
if (isset($_SERVER['HTTP_REFERRER'])) { 
$referrer = $_SERVER['HTTP_REFERRER'];
} else {
$referrer = "";
}

$myFile = "speeds.log";
$fh = fopen($myFile, 'a') or die("can't open log file");
$stringData = $date."\t".$time."\t".$ip_address."\t".$browser."\t".$page."\t".$referrer."\t".$testspeeds."\n";
fwrite($fh, $stringData); //or die("can't write to log file");;
fclose($fh);// or die("can't close log file");;
?>
Reply With Quote
  #24 (permalink)  
Old 11-19-2007,
AMPC's Avatar
Administrator
 
Join Date: Jan 2007
Posts: 1,415
Default Speed test logging

I found the problem, here is the fix for speed test logging

In logger.php file (or logger.asp for ASP users), make sure that the first line of the file says echo - don't ask

So,

<!-- echo -->
<?
...code...
?>

I just tested this on http://connectionspeedtest.info and it works fine.

Let me know if it works for you.

Regards,

Jim.
Reply With Quote
  #25 (permalink)  
Old 11-19-2007,
Junior Member
 
Join Date: Nov 2007
Posts: 3
Default

That did the trick!

Has the activation been taken care of?

Thanks!
Reply With Quote
  #26 (permalink)  
Old 11-20-2007,
AMPC's Avatar
Administrator
 
Join Date: Jan 2007
Posts: 1,415
Default speed test registration form

If you filled out the speed test registration form here:
http://www.auditmypc.com/free-speedtest.asp
then you are all set.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is .


Powered by a CPU
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.3.2 © 2009, Crawlability, Inc.