Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ip address - ???


cwdmark

Recommended Posts

Posted

is the ip address of the customer captured at checkout? we've been getting orders with stolen credit cards lately and we want to report the ip's to the fbi. any help appreciated.

 

thanks

mark

Posted

If you look in your raw access logs, you can see a list of which IP address looked at which pages and maybe figure it out from there.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Posted

no, my logs aren't that detailed... isn't there a way to do it with oscommerce? im sure it captures ips...

Posted

I thought you were looking for events in the past. There are probably details logs available from your hosting company.

 

To get the customers IP address in PHP you can use

  $requestors_ip = getenv( 'REMOTE_ADDR' );

You could add a field to the "orders" table in the database to store the IP.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...