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
  #1 (permalink)  
Old 07-31-2007,
Junior Member
 
Join Date: Jul 2007
Posts: 7
Default Logging

Running V1.03
Having a problem with the logging.

I have the permissions of speeds.log set to
-rwxrwxrwx 1 nobody other 3264 Jul 31 15:35 speeds.log

logger.php seems to be writting to the file, but I don't actually get the speedtest numbers in the file.

Sample line:
2007-07-31 15:26:18 1.2.3.4 Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2
.0.0.5 /speedtest/logger.php --- ---

Problem related to getting values into logger.php maybe??

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

running PHP 5.0.0 (cli) (built: Sep 20 2004 21:04:06)
And apache Server version: Apache/2.0.50
Reply With Quote
  #2 (permalink)  
Old 08-03-2007,
AMPC's Avatar
Administrator
 
Join Date: Jan 2007
Posts: 1,415
Default Speedtest Code

Brad,

Give me a few days on this and I'll get back to you - I am on vacation and will test when I am back.

Did you modify the speedtest code at all? If so, what mods did you make? What does the code look like now?

Also, make sure that in logging.php (or logging.asp), the very first line has <!-- echo -->

Best regards,

Jim.
Reply With Quote
  #3 (permalink)  
Old 08-08-2007,
Junior Member
 
Join Date: Jul 2007
Posts: 7
Default Logger

I have renamed the speedtest.htm file to index.htm in or speedtest dir.
A couple html changes in that file, but thats about it.

I've messed with the logger.php script to try to get things working. No joy though, so I've just put back the original.

It does log, just does not log the actually speedtest numbers (aka the values passed into logger.php)
Reply With Quote
  #4 (permalink)  
Old 08-09-2007,
AMPC's Avatar
Administrator
 
Join Date: Jan 2007
Posts: 1,415
Default Time

Brad - Still need a little time - I will get to it.
Reply With Quote
  #5 (permalink)  
Old 08-22-2007,
Junior Member
 
Join Date: Aug 2007
Posts: 2
Default

Quote:
Originally Posted by bradg View Post
Running V1.03
Having a problem with the logging.

I have the permissions of speeds.log set to
-rwxrwxrwx 1 nobody other 3264 Jul 31 15:35 speeds.log

logger.php seems to be writting to the file, but I don't actually get the speedtest numbers in the file.

Sample line:
2007-07-31 15:26:18 1.2.3.4 Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2
.0.0.5 /speedtest/logger.php --- ---

Problem related to getting values into logger.php maybe??

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

running PHP 5.0.0 (cli) (built: Sep 20 2004 21:04:06)
And apache Server version: Apache/2.0.50



I have the same problem - tried it on a couple boxes with diff setups/versions of php+ apache to boot.

The problem appears to be that $HTTP_POST_VARS['testspeeds'] doesnt get set (or passed on)...

Reply With Quote
  #6 (permalink)  
Old 08-22-2007,
Junior Member
 
Join Date: Aug 2007
Posts: 2
Default register globals

if you run php the way it should be (with register globals=off), then don't expect to get the speed results logged into speeds.log.


If you must have this working, change register globals on in you php.ini - until the maintainer fixes it.

cheers
-chris.
Reply With Quote
  #7 (permalink)  
Old 08-27-2007,
AMPC's Avatar
Administrator
 
Join Date: Jan 2007
Posts: 1,415
Default Globals off security issue

Hi Chris,

Can you explain that in greater detail?

Thanks!
Reply With Quote
  #8 (permalink)  
Old 09-14-2007,
Junior Member
 
Join Date: Sep 2007
Posts: 2
Default Logging with PHP

Globals = on and it is still not working. Anymore ideas?
Reply With Quote
  #9 (permalink)  
Old 09-14-2007,
Junior Member
 
Join Date: Sep 2007
Posts: 2
Default ASP and PHP

TIPS: Could possibly be not passing the variables. ??
Reply With Quote
  #10 (permalink)  
Old 09-14-2007,
Junior Member
 
Join Date: Sep 2007
Posts: 4
Default ASP ver 1.03 logging problems

Thanks for sharing a very nice utility!

We installed the ASP version of 1.03 on a microsoft server running IIS 6 and have tweaked everything we can think of but still unsuccessful with logging.

we've followed the renaming instructions for logger-to-db.asp,
we've given IUSR / modify to logger.asp and to the mdb file (for kicks),
we've moved the mdb file to the root directory of the server and then modified the directly path statement to this file in the logger.asp file.

Still no joy. Is there a version problem or has there been success in logging with ASP version 1.03?

We did find an entry in the server's error log indicating that it had received an invalid SQL statement.

Thanks again and for any additional tips!
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.