Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ip address - ???


cwdmark

Recommended Posts

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

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...