However, the IP addresses appeared to be wrong. I was browsing from Demon in the UK, but was being reported as being on Lycos (who host my stores). Doing a quick check on the code (I'm no programmer!) and a comparison with another visitor reporting contribution, I made the following change:
In catalog/includes/functions/leapfrog.php, find:
$wo_ip_address = getenv('REMOTE_ADDR');
and replace it with:
$wo_ip_address = tep_get_ip_address();
After uploading the modified file, the IP address of my customers is being correctly reported.
Thanks again for a great contribution.
edit... Just thinking about this, I'm not sure if tep_get_ip_address is standard in OSC installations, so this fix might not work for everyone...
Edited by andrew71, 05 June 2007, 10:20.















